BUG: scite.MenuCommand(IDM_QUIT)

58 views
Skip to first unread message

mozers

unread,
Jan 27, 2013, 2:05:54 AM1/27/13
to scite-i...@googlegroups.com
Hi,
scite.MenuCommand(IDM_QUIT) causes crash SciTE for Windows.
In earlier versions SciTE of this bug was not.

--
mozers
<http://scite-ru.org>

mozers

unread,
Jan 27, 2013, 4:17:37 AM1/27/13
to scite-i...@googlegroups.com
Sunday, January 27, 2013, 11:05:54 AM, mozers wrote:
> scite.MenuCommand(IDM_QUIT) causes crash SciTE for Windows.

The problem is completely fixed. SciTEWin.cxx (line 1198):
----------------------------------------------------------
if (extender)
extender->OnExecute(jobQueue.jobQueue[cmdWorker.icmd].command.c_str());

if (quitting) return; // add this!!!

if (jobQueue.jobQueue[cmdWorker.icmd].flags & jobGroupUndo)
wEditor.Send(SCI_ENDUNDOACTION);
----------------------------------------------------------

The author of this patch - Neo.

--
mozers
<http://scite-ru.org>

Reply all
Reply to author
Forward
0 new messages