Skip to content

How I Built My Code Editor in Ruby

Photo of Andy Maleh
Hosted By
Andy M. and Mathieu G.
How I Built My Code Editor in Ruby

Details

Doors open at 18:30. Talk will start at 19h.

Talk

Gladiator is a code editor that was built completely in Ruby. It supports syntax highlighting for over 30 programming languages, split pane, file name lookup, a variety of keyboard shortcuts, undo/redo, find and replace, line jumping, monitoring external file system changes, ignoring uneditable files, expanding to fill the screen, running Ruby code, remembering the last open files, and multi-project support. In fact, I have been using Gladiator for all my code editing needs since May of 2020.

In this talk, I will present Gladiator's features, and then dig into the implementation of every feature in Ruby, covering things like the Model-View-Controller and Model-View-Presenter architectural patterns, how to build custom widgets, how to implement file editing commands, and how to support undo/redo.

Attendees should walk out of this talk with rudimentary knowledge of how to build a code editor in Ruby.

Speaker Bio:

Andy Maleh has recently won a Fukuoka Ruby 2022 Special Award by Matz, the creator of Ruby. He has spoken at various software conferences, including two talks at RailsConf, in addition to RubyConf, MagicRuby, MountainWest RubyConf, and EclipseCon. Andy has a master's degree in Software Engineering with distinction from DePaul University, Chicago, and a bachelor's degree in Computer Science from McGill University, Montreal. In his free time, he plays drums in two Montreal rock bands and participates in amateur Volleyball leagues. Andy is also a big fan of the Montreal Canadiens, Montreal Alouettes, Montreal Alliance, and Boston Red Sox professional sports teams.

Photo of Montreal.rb group
Montreal.rb
See more events
506 Rue McGill suite 400
506 Rue McGill suite 400 · Montréal, QC