Beta 1.42 Build 637
Added. Jumping to first occurrence of the word in current top level scope on Smart Navigate.
While using this new feature ... i see it didn't works always.
EDIT: i think i found an issue: this works for me only inside an block?
I have an Block "On Error Resume Next" to set an bgcolor to my likely.
If i use ALT+G i found only the first occurrence within the same block (as far as i have test it)
If the word would be one line above / outside my block it isn't found.
099 myword
100 On Error Resume Next -block
101 myword
... ...
657 myword --- ALT+G goes only up to line 101, not to line 099
I work with an syntax which i am currently test too.
I have this in my syntax:
<Style id="ErrHand" name="ErrorHandling" text="1" bold="0" italic="0" underline="0" clr="#000000" bkclr="#eeeeee">
<Blocks>
<Block open="On Error Resume Next" close="On Error GoTo 0"/>
</Blocks>
</Style>
Note, I have an Scope too in this syntax
<Scope open="On Error Resume Next" close="On Error GoTo 0"/>
AS far as i see/understand:
- Block is used for style, here for setting colors.
- Scope is for folding.
Am i on the right way?
