Byron Hawkins
2012-09-01 17:29:40 UTC
I'm trying to create a simple function in my Startup.lua script that will
allow me to choose among multiple recently copied text strings. The
copy&paste stack is working fine, but when I try to use the strip for
choosing an item in the copy history, I get an error:
/home/b/.scite/Startup.lua:101: attempt to call field 'StripShow' (a nil
function chooseBuffer()
command.name.5.*=Choose Buffer
be working for people. Can someone please help me figure out why it is
completely missing from my environment? Thanks for your help.
Byron
allow me to choose among multiple recently copied text strings. The
copy&paste stack is working fine, but when I try to use the strip for
choosing an item in the copy history, I get an error:
/home/b/.scite/Startup.lua:101: attempt to call field 'StripShow' (a nil
value)
Here is my script (just a simple stub to get started):function chooseBuffer()
if choosingBuffer then
scite.StripShow("")
else
scite.StripShow("!'Choose Buffer:'[bufferIndex](OK)(Cancel)")
end
end
and here is my command in .SciTEUser.properties:scite.StripShow("")
else
scite.StripShow("!'Choose Buffer:'[bufferIndex](OK)(Cancel)")
end
end
command.name.5.*=Choose Buffer
command.5.*=dostring chooseBuffer()
command.subsystem.5.*=3
command.save.before.5.*=2
command.shortcut.5.*=Alt+Shift+V
I see other references to scite.StripShow here in the group, so it seems tocommand.subsystem.5.*=3
command.save.before.5.*=2
command.shortcut.5.*=Alt+Shift+V
be working for people. Can someone please help me figure out why it is
completely missing from my environment? Thanks for your help.
Byron
--
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To view this discussion on the web visit https://groups.google.com/d/msg/scite-interest/-/SUu0rdq-bXQJ.
To post to this group, send email to scite-***@googlegroups.com.
To unsubscribe from this group, send email to scite-interest+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To view this discussion on the web visit https://groups.google.com/d/msg/scite-interest/-/SUu0rdq-bXQJ.
To post to this group, send email to scite-***@googlegroups.com.
To unsubscribe from this group, send email to scite-interest+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.