document.get() has more than I taped [message #327124] |
Thu, 10 April 2008 13:42 |
Eclipse User |
|
|
|
hi all,
I try to make a little plugin for a foreign language.
I have to use a external Lexer (based on Antlr 3.0) and so I ve
surcharged ITokenScanner.
the main goal is to parse this simple line
FROM fslkdfjl fsdlfkjflk IMPORT lfskjfd ;
FROM lfskjd IMPORT dlskjdq;
the probeme is a the end of the first line I don't know why but it seem
that there more than one '\n'
if in setRange method I print caracter by caracter the doc there what I
have;
....
l
f
s
k
j
f
d
;
F
R
O
M
.....
Like you can see , after the ';' I have 4 enter. or something else (I
don't know what is it) and that cause bug.
is there people who has any idea ?? thnaks
a+++
|
|
|
Powered by
FUDForum. Page generated in 0.05952 seconds