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?
Scintilla question about Autocomplete and REM
Scintilla question about Autocomplete and REM
My PC
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10
Re: Scintilla question about Autocomplete and REM
Thanks for reading. Solution found: Sci_GetStyleAt(Position-2) fixed the problem.
My PC
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10