OnUserListSelection doesn't work?

15 views
Skip to first unread message

Jingcheng Zhang

unread,
Oct 21, 2009, 3:20:12 AM10/21/09
to scite-interest
Hello everyone,

Is there anything wrong in the following codes? How can I correct it?
I bind test() to F12 and invoke it, select an entry and press enter,
but it didn't print a "hello" string:

function OnUserListSelection(a, b)
print('hello')
end
function test()
editor:UserListShow(1, 'a b c d')
end

Neil Hodgson

unread,
Oct 21, 2009, 9:02:10 PM10/21/09
to scite-i...@googlegroups.com
Jingcheng Zhang:

User lists 1 and 2 may be used by SciTE itself so start from user list 3.

Neil

Jingcheng Zhang

unread,
Oct 22, 2009, 9:27:49 PM10/22/09
to scite-interest
Hello Neil,

Thanks. It seems this tips doesn't exist in official documents.

Neil Hodgson

unread,
Oct 24, 2009, 2:15:24 AM10/24/09
to scite-i...@googlegroups.com
Jingcheng Zhang:

> Thanks. It seems this tips doesn't exist in official documents.

Yes. I receive many more code patches than documentation patches.

Neil

Reply all
Reply to author
Forward
0 new messages