Página 1 de 1

scilexer.dll CharAdded Event

Publicado: 08 Oct 2017 18:07
por mahdi1993
Hi all

in below example, i create a code editor for highlighting lua codes with scilexer.dll
i can send standard scintilla message to it

but i do now know how can i define CharAdded event

is way to detect CharAdded event ??

note (i know scintilla object plugin that published by reteset. but i strongly need to create my code editor with scilexer.dll)

APZ Example :
https://www.mediafire.com/file/2w1m8mm9 ... llback.apz

Re: scilexer.dll CharAdded Event

Publicado: 08 Oct 2017 20:52
por abood1987
ok look at this example :

HIDE: ON
Hidebb Message Hidden Description

Re: scilexer.dll CharAdded Event

Publicado: 09 Oct 2017 08:40
por mahdi1993
so Thanks @abood1987
i know how to create advanced editor for any languages with Object Plugin like "Scintilla"
but i want to know how to detect messages from a library !!

Re: scilexer.dll CharAdded Event

Publicado: 09 Oct 2017 14:49
por mahdi1993
Hi all
@abood1987

i understand how to get event OnCharAdd event from scilexer.dll library
it is easy with MemoryEx action plugin and Subclass.Create function

now, can you help me to get current line text in my example ??

i know how do it with scintilla object plugin (your self learn me) :
local Count, Content = Scintilla.SendMessage(Object, TabID, "num", SCI_GETCURLINE, "num", 0, "pstr", 0);
return Content;
but with scilexer.dll maybe above code should change little !!

so thanks

APZ Example :
http://www.mediafire.com/file/2w1m8mm98 ... llback.apz

Re: scilexer.dll CharAdded Event

Publicado: 09 Oct 2017 18:58
por abood1987
Of course Used this Code :

Código: Seleccionar todo

Currnt_line = LuaScriptEditor.GetCurrentLineNumber(Handle)
Dialog.Message("", Currnt_line);

we are Here :)

Re: scilexer.dll CharAdded Event

Publicado: 09 Oct 2017 19:18
por mahdi1993
Hi abood
i self wrote that example (scilexer)
i want know, how to get current line text ??

Re: scilexer.dll CharAdded Event

Publicado: 10 Oct 2017 19:18
por mahdi1993
Hi all

no need.
i self resolved it.

Re: scilexer.dll CharAdded Event

Publicado: 22 Nov 2017 22:18
por CryptoNick
Хочу посмотреть скрытый текст :SOS:

Re: scilexer.dll CharAdded Event

Publicado: 19 Dic 2017 02:17
por oussemaTN
thnkssssssssssssssss

Re: scilexer.dll CharAdded Event

Publicado: 19 Dic 2017 22:22
por oussemaTN
thnkssssssssssssssssssssss

Re: scilexer.dll CharAdded Event

Publicado: 28 Sep 2018 01:02
por andrea
gracias

Re: scilexer.dll CharAdded Event

Publicado: 25 Mar 2019 02:01
por electrobyte
garcias