Archive for the ‘Ruby’ Category
Sunday, November 9th, 2008
I’ve just experienced one of the strangest problems ever. A PHP project was probably copied from a Swedish Windows machine to a Linux server, set to handle Swedish somehow. From the server it was then downloaded to a Mac that was probably running Swedish too, and from the Mac to my strictly English Windows installation running Wamp and XAMPP.... Read More
Tags: character conversion, fileutils, find, iconv, Ruby
Posted in Ruby | No Comments »
Friday, October 31st, 2008
The onStyleNeeded method in scintilla.rb used to look like this:... Read More
Tags: scintilla, wxruby
Posted in Ruby, WxRuby | No Comments »
Sunday, October 5th, 2008
Another bug fix, phew, they do stack up when you really start using an application for real.... Read More
Tags: Ruby, scintilla, wxruby
Posted in Ruby, WxRuby | No Comments »
Monday, September 29th, 2008
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
Tags: Ruby, scintilla, wxruby
Posted in Ruby, WxRuby | No Comments »
Thursday, August 21st, 2008
They’re a bitch :)... Read More
Tags: regular expressions, Ruby, wxruby
Posted in Ruby, WxRuby | No Comments »
Thursday, July 31st, 2008
Squashing Bugs... Read More
Tags: Lisp, Pico Lisp, Ruby, wxruby
Posted in Ruby, WxRuby | No Comments »
Wednesday, July 16th, 2008
I had to rename a lot of files today, recursively.... Read More
Tags: fileutils, find, Ruby
Posted in Ruby | 4 Comments »
Thursday, July 10th, 2008
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
Tags: Ruby, scintilla, wxruby
Posted in Ruby, WxRuby | No Comments »
Wednesday, June 18th, 2008
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
Tags: Ruby, scintilla, wxruby
Posted in Ruby, WxRuby | No Comments »
Friday, May 23rd, 2008
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
Tags: Ruby, scintilla, wxruby
Posted in Ruby, WxRuby | No Comments »