Calltip bug? What's wrong in my configurations?

56 views
Skip to first unread message

Jingcheng Zhang

unread,
Dec 10, 2019, 2:20:22 PM12/10/19
to scite-interest
Hello everyone,

I'm customizing my SciTE from the minimum, begining from SciTE.exe, SciLexer.dll, and SciTEGlobal.properties.
But I come across a strange behavior when configuring calltips.
In short, I have the following configurations in SciTEGlobal.properties:

my.chars.alpha=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
my.chars.digit=0123456789
my.chars.alnum=$(my.chars.alpha)$(my.chars.digit)
my.chars.words=$(my.chars.alnum)_

autocompleteword.automatic=1
autocomplete.choose.single=0

autocomplete.cpp.ignorecase=0
autocomplete.cpp.start.characters=.
autocomplete.cpp.fillups=(
autocomplete.cpp.typesep=!

calltip.cpp.ignorecase=0
calltip.cpp.use.escapes=0
calltip.cpp.word.characters=$(my.chars.words).
calltip.cpp.parameters.start=(
calltip.cpp.parameters.end=)
calltip.cpp.parameters.separators=,
calltip.cpp.end.definition=)

my.patterns.go=*.go

lexer.$(my.patterns.go)=cpp
api.$(my.patterns.go)=$(SciteDefaultHome)/go.api
word.characters.$(my.patterns.go)=$(my.chars.words)

and the following apis in go.api:

net.Dial(net string, addr string) (Conn, error) - Establish a connection
net.DialTCP(net string, laddr *TCPAddr, raddr *TCPAddr) (*TCPConn, error) - Establish a TCP connection


Then I open SciTE.exe and drag a .go file into it, and then type "net.", the calltip pops up, then I press Enter, but no api is inserted, only cause the caret to move to the start of the line.

Is this behavior expected? If not, am I missing something?
Thanks!

Neil Hodgson

unread,
Dec 10, 2019, 4:46:40 PM12/10/19
to scite-i...@googlegroups.com
Jingcheng Zhang:

> Then I open SciTE.exe and drag a .go file into it, and then type "net.", the calltip pops up, then I press Enter, but no api is inserted, only cause the caret to move to the start of the line.

This is a new bug in 4.2.2. I have uploaded a new 4.2.3 release which should work.

Neil

Jingcheng Zhang

unread,
Dec 11, 2019, 12:11:23 AM12/11/19
to scite-interest
Tried the new 4.2.3 and it works as expected.
Thanks!
Reply all
Reply to author
Forward
0 new messages