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!