Hi,
i've tried to set indicators by lua. the script is taken from
http://lua-users.org/wiki/UsingLuaWithScite
and is working except i only get the green line
function underline_text(pos,len,ind)
editor:StartStyling(pos,INDICS_MASK)
editor:SetStyling(len,INDIC0_MASK + ind)
editor:SetStyling(2,0)
end
the site says:
The default indicators are
0 green squiggly line
1 light blue line of small T shapes
2 light red line
my script:
function markseltext()
local sels = editor.SelectionStart
local sele = editor.SelectionEnd
if sels==sele then
sels = 0
sele = editor.Length
end
underline_text(sels,sele-sels,0)
end;
i called the underline-function with last parameter 1 and 2, but i get
also a green line.
must i set the indicators in properties-file or got these 2 indicators
deleted from actual scite-versions?
Greetings frank
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest