Scintilla question about Autocomplete and REM
Posted: Thu Oct 10, 2013 10:37 am
Dear users, I have a question: How to make autocompletion with scintilla gadget, which will ignore REM, ' (also REM) and inside strings?
The text is styled using GoScintilla but because I need spaces between keywords and add found SUBroutines and FUNCTIONs to the list, I use own autocomplete routine, but everytime I check style with SCI_GetStyleAt(position-1), I will get "0" for not styled, and shortly after this "1" for REMed out or "4" for String in quotes, so checking for "0" to call my Autocomplete routine will result that it will be called also for REM and Strings.
Any Ideas?
The text is styled using GoScintilla but because I need spaces between keywords and add found SUBroutines and FUNCTIONs to the list, I use own autocomplete routine, but everytime I check style with SCI_GetStyleAt(position-1), I will get "0" for not styled, and shortly after this "1" for REMed out or "4" for String in quotes, so checking for "0" to call my Autocomplete routine will result that it will be called also for REM and Strings.
Any Ideas?