key words not colored

Hi guys, Im using visual studio 2005 Team Edition for software developers.



I've noticed that sometimes key words are not beong displayed as they should. Take for example this code snippet from ascs file.


<%@ Control Language="C#" %>
<%@ Register TagPrefix="TRC" TagName="PaperRepeater" Src="sys_tronic1_paper_types_template__1.ascx" %>
<%@ Register TagPrefix="TRC" Namespace="Test1" Assembly="Test1_Code" %>
<%@ Import Namespace="System" %>
<%@ Import Namespace="System.Collections" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="TRC.BRX.Entities" %>
<%@ Import Namespace="TRC.BRX.Data" %>



// from here key words are not colored
private string BodyId = "";
private string LevelId ="";
private string sitId ="";
private string pap_types ="";

protected override void OnLoad(EventArgs e)
{

base.OnLoad(e);
SetPaperTypes();
iCountPAP = 1;
// get BodyID and LevelID from Step 1
if (Session["BD_ID"] != null)

key words like 'if', 'string' and 'private' are not coloured.

sometimes this dosnt happen, but more often than not its like the above, and when its like that I cant set break points, add varaiables to the watch window etc.

does anybody know what causes this and the solution is?

much appriciated

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion