Frank Wunderlich | 3 Aug 2012 21:41
Picon

gui-patch from scite 2.x not working

Hi,
i've tried to port my Scite2.x-patch for the sidebar to scite 3.21 (see 
attachment)

zip contains original-files and change files to easily make a diff, all 
changes are marked with an comment including "sidebar"

sidebar and splitter are visible, also scintilla-control, but the 
scintilla-control is empty (like file is not loaded, but tab-header 
shows filename), am i'm missing anything?

regards Frank

--

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.

Attachment (gscite321_gui-patch.zip): application/zip, 106 KiB
Frank Wunderlich | 5 Aug 2012 22:53
Picon

Re: gui-patch from scite 2.x not working

Frank Wunderlich, 03.08.2012 21:41:
> Hi,
> i've tried to port my Scite2.x-patch for the sidebar to scite 3.21 
> (see attachment)
>
> zip contains original-files and change files to easily make a diff, 
> all changes are marked with an comment including "sidebar"
>
> sidebar and splitter are visible, also scintilla-control, but the 
> scintilla-control is empty (like file is not loaded, but tab-header 
> shows filename), am i'm missing anything?
>
> regards Frank
no idea?

--

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.

Frank Wunderlich | 19 Aug 2012 18:46
Picon

Re: gui-patch from scite 2.x not working

Frank Wunderlich, 03.08.2012 21:41:
> Hi,
> i've tried to port my Scite2.x-patch for the sidebar to scite 3.21 
> (see attachment)
>
> zip contains original-files and change files to easily make a diff, 
> all changes are marked with an comment including "sidebar"
>
> sidebar and splitter are visible, also scintilla-control, but the 
> scintilla-control is empty (like file is not loaded, but tab-header 
> shows filename), am i'm missing anything?
>
> regards Frank
can anybody (neil, maybe steve) look at this simple patch (SciTEGTK.cxx 
only is enough)?
i assume there is a problem with the bakground-drawing of scintilla, i 
did not understand.

Frank

--

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.

Neil Hodgson | 20 Aug 2012 04:48

Re: gui-patch from scite 2.x not working

   Hi Frank,

> can anybody (neil, maybe steve) look at this simple patch (SciTEGTK.cxx only is enough)?
> i assume there is a problem with the bakground-drawing of scintilla, i did not understand.

   I do not want to support this.

   Neil

--

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.

Frank Wunderlich | 20 Aug 2012 10:43
Picon

Re: gui-patch from scite 2.x not working

Neil Hodgson, 20.08.2012 04:48:
>     Hi Frank,
>
>> can anybody (neil, maybe steve) look at this simple patch (SciTEGTK.cxx only is enough)?
>> i assume there is a problem with the bakground-drawing of scintilla, i did not understand.
>     I do not want to support this.
>
>     Neil
>
you have not to commit this,
i only want to know, why adding a simple control prevents scintilla from 
working. same control-change works in Scite 2.x.
it seems that lua also cannot access to editor.

Frank

--

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.

Frank Wunderlich | 25 Aug 2012 17:03
Picon

Re: gui-patch from scite 2.x not working

Frank Wunderlich, 20.08.2012 10:43:
> Neil Hodgson, 20.08.2012 04:48:
>>     Hi Frank,
>>
>>> can anybody (neil, maybe steve) look at this simple patch 
>>> (SciTEGTK.cxx only is enough)?
>>> i assume there is a problem with the bakground-drawing of scintilla, 
>>> i did not understand.
>>     I do not want to support this.
>>
>>     Neil
>>
> you have not to commit this,
> i only want to know, why adding a simple control prevents scintilla 
> from working. same control-change works in Scite 2.x.
> it seems that lua also cannot access to editor.
>
> Frank
>
can you please give me a hint? my patch seems to be ok and works well in 
scite 2.x

regards Frank

--

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.

(Continue reading)

Neil Hodgson | 26 Aug 2012 00:39

Re: gui-patch from scite 2.x not working

Frank Wunderlich:

> can you please give me a hint? my patch seems to be ok and works well in scite 2.x

   This looks like it would sink too much time so I don't want to work on it.

   Neil

--

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.

Frank Wunderlich | 26 Aug 2012 03:48
Picon

Re: gui-patch from scite 2.x not working

Neil Hodgson, 26.08.2012 00:39:
> Frank Wunderlich:
>
>> can you please give me a hint? my patch seems to be ok and works well in scite 2.x
>     This looks like it would sink too much time so I don't want to work on it.
>
>     Neil
>
i simply add a paned-control to boxMain with 2 vbox-widgets and then 
adding to the left one your 2 controls (wtabbar and wcontent) you put 
directly to boxMain...not that complicated and as i say its working on 
scite 2.x

have you changed anything in 3.x, that can be disturbed by this 2 
additional controls (hpaned,vbox) between boxMain and wContent/wTabbar?

do you iterate through the controls so your code get my hpaned instead 
of wcontent?

Regards Frank

--

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.

Neil Hodgson | 27 Aug 2012 02:28

Re: gui-patch from scite 2.x not working

Frank Wunderlich:

> have you changed anything in 3.x, that can be disturbed by this 2 additional controls (hpaned,vbox)
between boxMain and wContent/wTabbar?

   I thought my previous two answers were quite direct: I do not want to be involved in this issue. Please direct
your questions to others.

   Neil

--

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.

Frank Wunderlich | 1 Sep 2012 14:20
Picon

Re: gui-patch from scite 2.x not working

OK,
the problem was a call in a lua-script to editor:GetLexerLanguage(), 
which seems to be implemented in my current scite-binary, but not in 
current release 3.2.x. This call is in OnUpdate and has blocked UI

i removed that temporarily from the scripts and the UI looks as i wanted ;)

can i send SCI_GETLEXERLANGUAGE from lua directly to editor or have i 
implement this directly in scite-code?

regards Frank

--

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.

Neil Hodgson | 3 Sep 2012 16:00

Re: gui-patch from scite 2.x not working

Frank Wunderlich:

the problem was a call in a lua-script to editor:GetLexerLanguage(), which seems to be implemented in my current scite-binary, but not in current release 3.2.x.

   The API changed in 3.2.1: http://www.scintilla.org/PaneAPI.html

   Neil

--
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.
Frank Wunderlich | 3 Sep 2012 19:09
Picon

Re: gui-patch from scite 2.x not working

Neil Hodgson, 03.09.2012 16:00:
Frank Wunderlich:

the problem was a call in a lua-script to editor:GetLexerLanguage(), which seems to be implemented in my current scite-binary, but not in current release 3.2.x.

   The API changed in 3.2.1: http://www.scintilla.org/PaneAPI.html

   Neil

thank you for the tip...thats the reason, i got problems with the versions i've tested with my patch (only 3.2.1 and 3.2.2)

as i understand i have to use editor.LexerLanguage as getter, right? in the documentation ist only described as setter.

currently i use props['Language'] ;)

Frank

--
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.
Philippe Lhoste | 5 Sep 2012 13:19
Picon

Re: gui-patch from scite 2.x not working

On 03/09/2012 19:09, Frank Wunderlich wrote:
> as i understand i have to use editor.LexerLanguage
> <http://www.scintilla.org/ScintillaDoc.html#SCI_SETLEXERLANGUAGE>as getter, right? in the
> documentation ist only described as setter.
>
> currently i use props['Language'] ;)

IIRC, Neil recently added the getter version, which is visible (at the time I write 
this...) at the page you link to.
SCI_GETLEXERLANGUAGE(<unused>, char *name)

-- 
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --

--

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.

Frank Wunderlich | 5 Sep 2012 19:40
Picon

Re: Re: gui-patch from scite 2.x not working

How to use this message with lua?
--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.



Philippe Lhoste <PhiLho <at> GMX.net> schrieb:
On 03/09/2012 19:09, Frank Wunderlich wrote:
> as i understand i have to use editor.LexerLanguage
> <http://www.scintilla.org/ScintillaDoc.html#SCI_SETLEXERLANGUAGE>as getter, right? in the
> documentation ist only described as setter.
>
> currently i use props['Language'] ;)

IIRC, Neil recently added the getter version, which is visible (at the time I write
this...) at the page you link to.
SCI_GETLEXERLANGUAGE(<unused>, char *name)

--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --



--
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> 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 post to this group, send email to scite-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.
Philippe Lhoste | 6 Sep 2012 11:35
Picon

Re: gui-patch from scite 2.x not working

On 05/09/2012 19:40, Frank Wunderlich wrote:
> How to use this message with lua?

print(editor.LexerLanguage)

(show the lexer name, null if no lexer is set)

-- 
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --

--

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.


Gmane