Brian Blais wrote:
Neil Hodgson wrote:
Brian Blais:

function SelectCurrentLine(bWithEOL)

  Drop the parameter to make this easy to call from a key.

ok, so I changed it to:

function SelectCurrentLine()
   local lineStartPos, lineEndPos = GetLineData(-1)
   editor:SetSel(lineStartPos, lineEndPos)
end


This is lua code? Should this not be in your Lua startup script file instead of in the properties file? Mine is named stools.lua below. See the docs for more info.

ext.lua.startup.script=$(SciteUserHome)/stools.lua


and it still doesn't work. Now, what I'd like to know is how I can debug an issue like this, because clearly it is working for someone! Should I not put this in my .SciTEUserProperties file? Could something be overriding all of this somehow? Is there a good way for me to try to figure out why it's not working just for me?


        thanks,


                bb


--
Doyle Whisenant
http://www.freewebs.com/mekdesign/
mekanixx at gmail dot com
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to