Computer Science Canada

Open Turing -- Fixed double click crash.

Author:  ttm [ Mon Nov 28, 2011 11:18 pm ]
Post subject:  Open Turing -- Fixed double click crash.

There was a bug in the old Turing that always bugged me: sometimes, when you double clicked, it would crash.

(For example, open new file, type any letter, double click in editor window, crash!)

Anyways. I fixed it. Wink http://dl.dropbox.com/u/17181264/package.zip.

My TortoiseGit is currently uploading it to the OT dev branch on GitHub (which is taking forever).

Author:  mirhagk [ Tue Nov 29, 2011 8:46 am ]
Post subject:  RE:Open Turing -- Fixed double click crash.

Nice, good job. That is an annoying bug.

Author:  [Gandalf] [ Wed Nov 30, 2011 12:24 am ]
Post subject:  RE:Open Turing -- Fixed double click crash.

What on earth was causing this, pray tell!

I described something very similar in this topic a while back.

Author:  Tony [ Wed Nov 30, 2011 12:50 am ]
Post subject:  RE:Open Turing -- Fixed double click crash.

Apparently this was it https://github.com/Open-Turing-Project/OpenTuring/commit/1bf11d2dd293c6151fe837e418af404862a8fd89#ready/src/edtext.c

Now if the editor gets into
Quote:

// We've got a real problem here... We're in an infinite loop!

the function just returns arbitrary line/column values instead of throwing fatal exceptions.


: