You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(60) |
Jul
(35) |
Aug
(32) |
Sep
(5) |
Oct
(5) |
Nov
(58) |
Dec
(34) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(114) |
Feb
(184) |
Mar
(153) |
Apr
(90) |
May
(153) |
Jun
(59) |
Jul
(24) |
Aug
(43) |
Sep
(17) |
Oct
(34) |
Nov
(11) |
Dec
(204) |
2007 |
Jan
(84) |
Feb
(119) |
Mar
(38) |
Apr
(28) |
May
(52) |
Jun
(105) |
Jul
(64) |
Aug
(67) |
Sep
(14) |
Oct
(3) |
Nov
(28) |
Dec
(55) |
2008 |
Jan
(228) |
Feb
(55) |
Mar
(30) |
Apr
(30) |
May
(15) |
Jun
(20) |
Jul
(12) |
Aug
(3) |
Sep
(13) |
Oct
(54) |
Nov
(35) |
Dec
(35) |
2009 |
Jan
(19) |
Feb
(20) |
Mar
(34) |
Apr
(4) |
May
(60) |
Jun
(25) |
Jul
(16) |
Aug
(51) |
Sep
(19) |
Oct
(62) |
Nov
(21) |
Dec
(12) |
2010 |
Jan
(1) |
Feb
|
Mar
(4) |
Apr
(12) |
May
(23) |
Jun
(13) |
Jul
(1) |
Aug
(40) |
Sep
(18) |
Oct
(21) |
Nov
(26) |
Dec
(34) |
2011 |
Jan
(17) |
Feb
(23) |
Mar
(1) |
Apr
(10) |
May
(1) |
Jun
(5) |
Jul
(1) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
(43) |
2012 |
Jan
(5) |
Feb
(19) |
Mar
(6) |
Apr
(24) |
May
(39) |
Jun
(83) |
Jul
(29) |
Aug
(36) |
Sep
(64) |
Oct
(55) |
Nov
(12) |
Dec
(7) |
2013 |
Jan
(17) |
Feb
(10) |
Mar
(37) |
Apr
(27) |
May
(13) |
Jun
(9) |
Jul
(7) |
Aug
(61) |
Sep
(23) |
Oct
(23) |
Nov
(30) |
Dec
(16) |
2014 |
Jan
(23) |
Feb
(13) |
Mar
(9) |
Apr
(17) |
May
(2) |
Jun
(11) |
Jul
(2) |
Aug
|
Sep
(9) |
Oct
(24) |
Nov
(2) |
Dec
(14) |
2015 |
Jan
(6) |
Feb
(4) |
Mar
(17) |
Apr
|
May
(7) |
Jun
(3) |
Jul
|
Aug
|
Sep
(2) |
Oct
(21) |
Nov
(6) |
Dec
(2) |
2016 |
Jan
(4) |
Feb
(2) |
Mar
(7) |
Apr
(3) |
May
(11) |
Jun
(6) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(4) |
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(8) |
Nov
|
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
1
|
2
|
3
(5) |
4
|
5
(1) |
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
(1) |
28
(5) |
29
(1) |
30
|
|
|
|
|
From: Duncan C. <dun...@gm...> - 2008-09-03 12:58:37
|
On Wed, Sep 3, 2008 at 5:49 AM, John Labenski <jla...@gm...> wrote: > On Tue, Sep 2, 2008 at 11:12 PM, Duncan Cross <dun...@gm...> 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 >> highlight it red) for a wxStyledTextCtrl control? It seems like it >> should be obvious, but I can't seem to find this information anywhere. >> What change(s) would you make to the editor.wx.lua sample script to do >> this? (I know that it must be possible since wxLuaEditor supports it.) >> > > The wxLuaEditor does it on the C++ side, but perhaps it can be > translated to Lua. > > See: > > http://wxcode.cvs.sourceforge.net/wxcode/wxCode/components/wxstedit/src/stedit.cpp?view=markup > > 156 EVT_STC_UPDATEUI (wxID_ANY, wxSTEditor::OnSTCUpdateUI) > > 340 void wxSTEditor::OnSTCUpdateUI(wxStyledTextEvent &event) > > 1874 void wxSTEditor::DoBraceMatch() > > and > > 1792 bool wxSTEditor::DoFindMatchingBracePosition( > > > Hope this helps, > John I have managed to get it working, by adding this function: function DoFindMatchingBracePosition(editor) local length = editor.Length; if (length == 0) then return -1,-1 end local pos = editor.CurrentPos; if (pos > 0) and (editor:PositionBefore(pos)==(pos-1)) then local prevc = editor:GetCharAt(pos-1); if (prevc == 91) or (prevc == 93) or (prevc == 123) or (prevc == 125) or (prevc == 40) or (prevc == 41) then return pos-1, editor:BraceMatch(pos-1); end end if (pos < length) and (editor:PositionAfter(pos)==(pos+1)) then local nextc = editor:GetCharAt(pos); if (nextc == 91) or (nextc == 93) or (nextc == 123) or (nextc == 125) or (nextc == 40) or (nextc == 41) then return pos, editor:BraceMatch(pos); end end return -1,-1 end ...and modifying the UPDATE_UI event handler to this: editor:Connect(wxstc.wxEVT_STC_UPDATEUI, function (event) UpdateStatusText(editor) local braceAtCaret,braceOpposite = DoFindMatchingBracePosition(editor) if (braceAtCaret > -1) and (braceOpposite == -1) then editor:BraceBadLight(braceAtCaret) editor:SetHighlightGuide(0) else editor:BraceHighlight(braceAtCaret, braceOpposite) end end) Thanks again for your help. -Duncan |
From: Duncan C. <dun...@gm...> - 2008-09-03 12:11:38
|
On Wed, Sep 3, 2008 at 5:49 AM, John Labenski <jla...@gm...> wrote: > On Tue, Sep 2, 2008 at 11:12 PM, Duncan Cross <dun...@gm...> 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 >> highlight it red) for a wxStyledTextCtrl control? It seems like it >> should be obvious, but I can't seem to find this information anywhere. >> What change(s) would you make to the editor.wx.lua sample script to do >> this? (I know that it must be possible since wxLuaEditor supports it.) >> > > The wxLuaEditor does it on the C++ side, but perhaps it can be > translated to Lua. > > See: > > http://wxcode.cvs.sourceforge.net/wxcode/wxCode/components/wxstedit/src/stedit.cpp?view=markup > > 156 EVT_STC_UPDATEUI (wxID_ANY, wxSTEditor::OnSTCUpdateUI) > > 340 void wxSTEditor::OnSTCUpdateUI(wxStyledTextEvent &event) > > 1874 void wxSTEditor::DoBraceMatch() > > and > > 1792 bool wxSTEditor::DoFindMatchingBracePosition( > > > Hope this helps, > John Thanks John. I'll see how I get on with this and will report back if I succeed. It seems odd that code block folding is easy to add in but not this, but that's a quirk of how wxStyedTextCtrl works rather than anything wxLua is responsible for I expect. -Duncan |
From: John L. <jla...@gm...> - 2008-09-03 04:49:22
|
On Tue, Sep 2, 2008 at 11:12 PM, Duncan Cross <dun...@gm...> 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 > highlight it red) for a wxStyledTextCtrl control? It seems like it > should be obvious, but I can't seem to find this information anywhere. > What change(s) would you make to the editor.wx.lua sample script to do > this? (I know that it must be possible since wxLuaEditor supports it.) > The wxLuaEditor does it on the C++ side, but perhaps it can be translated to Lua. See: http://wxcode.cvs.sourceforge.net/wxcode/wxCode/components/wxstedit/src/stedit.cpp?view=markup 156 EVT_STC_UPDATEUI (wxID_ANY, wxSTEditor::OnSTCUpdateUI) 340 void wxSTEditor::OnSTCUpdateUI(wxStyledTextEvent &event) 1874 void wxSTEditor::DoBraceMatch() and 1792 bool wxSTEditor::DoFindMatchingBracePosition( Hope this helps, John |
From: John L. <jla...@gm...> - 2008-09-03 04:45:15
|
On Fri, Aug 29, 2008 at 7:32 AM, Ozzy <oz...@gm...> wrote: > Hello, > > I was looking for a windows scripting host for Lua, came across a dead link > to LuaScript: > > http://www.luascript.thersgb.net/luascript/ > the download setup.exe was corrupt on iarchive of course... but i found: > > http://homepage.ntlworld.com/johanne.winwood/luascript and downloaded the > LuaScript setup file. > > Now this is an OLD archive... Lua 1.1 i think. Went up a level and came > across "Welcome to wxLua" > 24th December 2004 wxLua 2.6 is released. > > then more googling... and wound up at sf and this list, onto the actual > question... > > Is the wxLua the same or newer version of the LuaScript i found? wxlua.sf.net is the continuation of wxLua and you can download the newest version there. > The reason i need the WSH bit is i plan to use Lua in zMud (mud client) and > it supports any language that can be accessed through windows scripting > host. > > will wxLua do that for me? I don't believe that LuaScript (wxLua?) ever supported WSH (Windows Scripting Host?). I think LuaScript was merely a name implying that wxLua was C++ wxWidgets using a script type language, Lua. Unless there was a separate LuaScript program that I am not aware of. Regards, John |
From: Duncan C. <dun...@gm...> - 2008-09-03 03:12:03
|
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 I can't seem to find this information anywhere. What change(s) would you make to the editor.wx.lua sample script to do this? (I know that it must be possible since wxLuaEditor supports it.) Thank you, -Duncan |