Re: [wxlua-users] wxStyledTextCtrl

2024-07-05 Thread Paul K
Hi Milind, > I have a wxSyledTextCtrl control and if I set the SetWrapMode to > wxSTC_WRAP_WORD and there are lines that actually wrap then the function > EnsureCaretVisible does not scroll to the caret position. Is there any way to > have wrapping and get this to work? I remember running into

[wxlua-users] wxStyledTextCtrl

2024-07-04 Thread Milind Gupta
Hi Paul, I am trying to use the wxStyledTextCtrl and I see an issue and I was thinking you would know how to get around it. I have a wxSyledTextCtrl control and if I set the SetWrapMode to wxSTC_WRAP_WORD and there are lines that actually wrap then the function EnsureCaretVisible does n

Re: [wxlua-users] wxStyledTextCtrl folding flakiness

2009-12-03 Thread Dennis Sacks
Thanks, I got it things working - I'm pretty sure I was doing something in the wrong order, but I did end up going back to the editor.wx.lua code to see what it does. Thanks for your help! On Wed, Dec 2, 2009 at 10:19 PM, John Labenski wrote: > On Wed, Dec 2, 2009 at 5:00 PM, Dennis Sacks > wr

Re: [wxlua-users] wxStyledTextCtrl folding flakiness

2009-12-02 Thread John Labenski
On Wed, Dec 2, 2009 at 5:00 PM, Dennis Sacks wrote: > Hi, I'm sure it isn't flakiness but something that I'm doing that I > shouldn't be. > I'm using wxStyledTextCtrl - I set the lexer language, keywords, etc. Then I > load a file and try to make use of folding info - but it seems like as I'm > ma

[wxlua-users] wxStyledTextCtrl folding flakiness

2009-12-02 Thread Dennis Sacks
Hi, I'm sure it isn't flakiness but something that I'm doing that I shouldn't be. I'm using wxStyledTextCtrl - I set the lexer language, keywords, etc. Then I load a file and try to make use of folding info - but it seems like as I'm making changes I cause the control to not have any folding info

Re: [wxlua-users] wxStyledTextCtrl and UTF-8

2009-06-14 Thread John Labenski
On Thu, Jun 11, 2009 at 6:24 PM, Duncan Cross wrote: > Hi List, > > I'm trying to get my wxSTC to show Unicode characters in a UTF-8 > document, and from reading around it looked like the way to do this is > to call (where "stc" is the control itself): > >    stc.CodePage = wxstc.wxSTC_CP_UTF8; > >

[wxlua-users] wxStyledTextCtrl and UTF-8

2009-06-11 Thread Duncan Cross
Hi List, I'm trying to get my wxSTC to show Unicode characters in a UTF-8 document, and from reading around it looked like the way to do this is to call (where "stc" is the control itself): stc.CodePage = wxstc.wxSTC_CP_UTF8; ...but while this initially seemed to have no effect, I realised

Re: [wxlua-users] wxStyledTextCtrl - Activating Brace Matching

2008-09-03 Thread Duncan Cross
On Wed, Sep 3, 2008 at 5:49 AM, John Labenski <[EMAIL PROTECTED]> wrote: > On Tue, Sep 2, 2008 at 11:12 PM, Duncan Cross <[EMAIL PROTECTED]> wrote: >> Hi List, >> >> Could anyone help me with getting brace matching to work (i.e. when >> the text cursor is over a brace, highlight both the brace and

Re: [wxlua-users] wxStyledTextCtrl - Activating Brace Matching

2008-09-03 Thread Duncan Cross
On Wed, Sep 3, 2008 at 5:49 AM, John Labenski <[EMAIL PROTECTED]> wrote: > On Tue, Sep 2, 2008 at 11:12 PM, Duncan Cross <[EMAIL PROTECTED]> wrote: >> Hi List, >> >> Could anyone help me with getting brace matching to work (i.e. when >> the text cursor is over a brace, highlight both the brace and

Re: [wxlua-users] wxStyledTextCtrl - Activating Brace Matching

2008-09-02 Thread John Labenski
On Tue, Sep 2, 2008 at 11:12 PM, Duncan Cross <[EMAIL PROTECTED]> wrote: > Hi List, > > Could anyone help me with getting brace matching to work (i.e. when > the text cursor is over a brace, highlight both the brace and its > matching twin blue, unless the brace is mismatched, in which case > highl

[wxlua-users] wxStyledTextCtrl - Activating Brace Matching

2008-09-02 Thread Duncan Cross
Hi List, Could anyone help me with getting brace matching to work (i.e. when the text cursor is over a brace, highlight both the brace and its matching twin blue, unless the brace is mismatched, in which case highlight it red) for a wxStyledTextCtrl control? It seems like it should be obvious, but