Posted 16 years ago
by GeorgeNY
-
CTO,
RatchetSoft, LLC

I'm using the Syntax Editor for WinForms (current version) and the .NET Addon. I'd like to implement a "Go To Declaration feature which would allow the user to position the caret at a certain location... for example (^ is caret location):
string s = var^1 + var2 + var3
If the caret is in var1, i would like to have a hotkey bring me to the location of var1's declaration. It might be a local variable or it might be a member of this class or another class within this instance of the syntax editor. A cursory investigation leads to me compilation units and such.
My questions are:
1) is this possible? if so, how?
2) is this very complex?
string s = var^1 + var2 + var3
If the caret is in var1, i would like to have a hotkey bring me to the location of var1's declaration. It might be a local variable or it might be a member of this class or another class within this instance of the syntax editor. A cursory investigation leads to me compilation units and such.
My questions are:
1) is this possible? if so, how?
2) is this very complex?
George P Weihs