Hi there,
I have two related questions that I hope for some kind soul to know the answer too.
1) I would like to have special highlighting for user defined class names and function names. So if the code contains:Then everywhere in the editor the identifier token MyClass should have one style, while the identifier token DoSomething should have another. Unknown identifiers should have error markings.
Is this possible and how would I go about implementing such a solution? I just bought WPF studio and started having a look at Syntax Editor today so I'm not a pro. But I can't seem to find anything like this in the samples or in the documentation. I would be truly greatful for an outline of the basic steps needed to do this so I can continue digging where needed.
2) Also, is there a way to have different documents communicating with each other so if I have defined a class in one document it would be available in another? Like in a Visual Studio project.
I have two related questions that I hope for some kind soul to know the answer too.
1) I would like to have special highlighting for user defined class names and function names. So if the code contains:
class MyClass
{
public void DoSomething()
{
}
}
Is this possible and how would I go about implementing such a solution? I just bought WPF studio and started having a look at Syntax Editor today so I'm not a pro. But I can't seem to find anything like this in the samples or in the documentation. I would be truly greatful for an outline of the basic steps needed to do this so I can continue digging where needed.
2) Also, is there a way to have different documents communicating with each other so if I have defined a class in one document it would be available in another? Like in a Visual Studio project.