Scintilla event problem in new wxRuby – kinda solved
Friday, October 31st, 2008The onStyleNeeded method in scintilla.rb used to look like this:... Read More
The onStyleNeeded method in scintilla.rb used to look like this:... Read More
Another bug fix, phew, they do stack up when you really start using an application for real.... Read More
I’ve recently had the opportunity to check out TextMate and it has a nice feature that lets you select some lines and automatically add # to the beginning of them in order to comment them out.... Read More
They’re a bitch :)... Read More
Squashing Bugs... Read More
This is embarrassing, I noticed that after getting a new browser to the left – for instance when searching the whole project – and going back to the projects browser to open a new file there, the editor would crash because it could not find references to various locations. The initialize function in treectrl.rb looks like this now:... Read More
I’ve been working quite a bit with the editor lately and it feels stable enough to release, I’ll probably implement a few more features in the future, enough for now though.... Read More
Folding is of course a part of the lexer and when I made my own styling (described in the prior tutorial) it follows that I have to implement my own folding logic too. Well it’s as easily done as said, we just use the folding in lexLisp.cxx, here is our Ruby version of Alexey Yutkin’s C++ version in lexer.rb:... Read More
In the prior tutorial I hinted that I was working on compiling wxRuby with my own Pico Lisp lexer, I gave up on that after spending a few hours editing h-files and makefiles, only to discover that the Scintilla component would not work, possibly because of my changes, probably because of something else. ... Read More
This article might bore you, in that case you might want to skip to the end where a pretty useful “trick” for custom sorting the tree items is described. You might also want to check out the image related stuff, it is more complex than in the sample treectrl.rb... Read More