From: Simon Strandgaard Date: 2004-08-16T17:25:44+09:00 Subject: Re: [ANN] aeditor 1.6 On Monday 16 August 2004 09:55, "Pe�a, Botp" wrote: > Simon Strandgaard [mailto:neoneye@adslhome.dk] wrote: > > AEditor 1.6 features > > > > aeditor --selftest # -> 317 tests, 1257 assertions, 0 > > this is cool but... > > c:\family\ruby>aeditor --selftest > c:/ruby/lib/ruby/site_ruby/1.8/aeditor/test_fileio.rb:144: undefined method > `test_save2' for class `TestFileio' (NameError) [snip backtrace] Thanks.. I think its fixed now.. see cvs diff here http://rubyforge.org/cgi-bin/viewcvs/cgi/viewcvs.cgi/projects/experimental/buffer/source/test_fileio.rb.diff?r1=1.4&r2=1.5&cvsroot=aeditor > > Open Questions > > Q. In which direction should AEditor evolve? > > provide something that allows the programmer to evolve according to his > need/likes. > Eg, can you now provide primitives so that we can create our own commands > or modify default keybindings or menus? some examples.. You would like to be able to write you own commands? so that you for instance could bind RI to the F1 key.. and when pressed it extracted the text below the cursor, and used RI to get help. Setup you own execution command.. so F9 runs the content of the buffer. Depending on which language it is.. it runs the right compilers/interpretors. I am wondering how the configuration file should be like in order to allow such bindings.. suggestions are welcome. mode :ruby do |m| m.tabsize = 2 m.file_suffixes = %w(rb rbx Rakefile) m.lexer = :ruby m.cursor_through_tabs = true m.on_help do |context| str = context.current_line system("ri #{str}") end m.on_execute do |context| filename = context.buffer_absolute_filename system("ruby #{filename}") end end Im happy you like AEditor.. Thanks. -- Simon Strandgaard