Editor

Hi,

I’m looking for a free windows editor for programming in ruby. It
should at least support syntax highlightening.

Thanks

PS: I posted already (got no answer yet) for a friend who tries to get
the gd-library-functions to work with ruby. Is there something special
to know about? He already managed to get it to work with perl and php.

SvT

— Safran von Twesla me@privacy.net wrote: > Hi,

I’m looking for a free windows editor for programming in ruby. It
should at least support syntax highlightening.

http://www.vim.org

– Thomas Adam

···

=====
“The Linux Weekend Mechanic” – http://linuxgazette.net
“TAG Editor” – http://linuxgazette.net

“ We’ll just save up your sins, Thomas, and punish
you for all of them at once when you get better. The
experience will probably kill you. :)”

– Benjamin A. Okopnik (Linux Gazette Technical Editor)


BT Yahoo! Broadband - Free modem offer, sign up online today and save £80 http://btyahoo.yahoo.co.uk

When I developed on windows I used Eclipse with the ruby plugin. It had
everything I needed at the time.

You could also try FreeRIDE. Just google for either…

Emiel

···

Hi,

I’m looking for a free windows editor for programming in ruby. It
should at least support syntax highlightening.


E F van de Laar
www.il.fontys.nl/~emiel
PGP pubkey: %finger emiel@il.fontys.nl

The windows installer comes with SciTE. I’m happy with it.

Chris

Safran von Twesla wrote:

Hi,

I’m looking for a free windows editor for programming in ruby. It
should at least support syntax highlightening.

Thanks

PS: I posted already (got no answer yet) for a friend who tries to get
the gd-library-functions to work with ruby. Is there something special
to know about? He already managed to get it to work with perl and php.

SvT

Hi,

your might like to try ‘Syn’

http://syn.sourceforge.net/

It come with syntax highlighting (for Ruby, too) can can be configured
to run your programs, to create RDocs and to run, say, your unit tests
quite easily (You DO write unit tests, do you :wink:

···


“It’s POLYMORPHIC!!!”
A former colleague

Safran von Twesla wrote:

Hi,

I’m looking for a free windows editor for programming in ruby. It
should at least support syntax highlightening.

Thanks

PS: I posted already (got no answer yet) for a friend who tries to get
the gd-library-functions to work with ruby. Is there something special
to know about? He already managed to get it to work with perl and php.

SvT

Windows editor? RDE
http://homepage2.nifty.com/sakazuki/rde_e.html

regarding GD lib, I’m on windows haven’t got a problem using it, are you
using the pragprog ruby install? mingw? I use the later, didn’t tried
compiling gd myself, got the binary from the /binaries/mingw|mswin/ext
folder in a mirror
for mingw
http://www.ibiblio.org/pub/languages/ruby/binaries/mingw/1.8/ext/ruby-GD-0.7.4-i386-mingw32-1.8.tar.gz

for mswin didn’t see one, but most probably the mingw would work with
the mswin install(but I could be wrong), just unpack the GD.so to the
right dir i.e. ruby/lib/1.8/i386-msvcrt , the i386-msvcrt could be
different on mswin install, just look where the other *.so are.

and thats if using ruby-GD, see:
http://raa.ruby-lang.org/cat.rhtml?category_major=Library;category_minor=Graphics

SciTE is great until you find Crimson Editor. http://www.crimsoneditor.com

Crimson isn’t perfect, but it offers a lot of things that are really nice to
have that I’ve found SciTE doesn’t offer ATM.

Zach

···

-----Original Message-----
From: nemo [mailto:nemo@hellotree.com]
Sent: Tuesday, January 27, 2004 10:10 AM
To: ruby-talk ML
Subject: Re: Editor

The windows installer comes with SciTE. I’m happy with it.

Chris

http://jedit.org

free -open-source - great plug-in support

it’s java, so when you dump windows, you can still use it. I use it on
the mac,linux and windows.

I’d switch to latest scite. It has features missing in sciute 1.41,
like tab support

···

il Wed, 28 Jan 2004 00:10:07 +0900, “nemo” nemo@hellotree.com ha scritto::

The windows installer comes with SciTE. I’m happy with it.

With total disregard for any kind of safety measures “nemo”
nemo@hellotree.com leapt forth and uttered:

The windows installer comes with SciTE. I’m happy with it.

Chris

Seconded. SciTE is probably one of the most underrated editors you
can get. I love it.

I use a recent version tweaked for PHP though.

···


Phil Roberts | Nobody In Particular | http://www.flatnet.net/

He inserted GD.so in C:\ruby\lib\ruby\1.8\i386-mswin32 and run his
Script again… here the error:

test.rb:62: undefined method `colorAllocate’ for
#GD::Image:(100x100) (NoMethodError)

Strange, isn’t it?

Thx

SvT

···

On Wed, 28 Jan 2004 03:13:51 +0900, Osuka Adartse rocioestradacastaneda@prodigy.net.mx wrote:

regarding GD lib, I’m on windows haven’t got a problem using it, are you
using the pragprog ruby install? mingw? I use the later, didn’t tried
compiling gd myself, got the binary from the /binaries/mingw|mswin/ext
folder in a mirror
for mingw
http://www.ibiblio.org/pub/languages/ruby/binaries/mingw/1.8/ext/ruby-GD-0.7.4-i386-mingw32-1.8.tar.gz

for mswin didn’t see one, but most probably the mingw would work with
the mswin install(but I could be wrong), just unpack the GD.so to the
right dir i.e. ruby/lib/1.8/i386-msvcrt , the i386-msvcrt could be
different on mswin install, just look where the other *.so are.

and thats if using ruby-GD, see:
http://raa.ruby-lang.org/cat.rhtml?category_major=Library;category_minor=Graphics

Well, I have “walked” through the menu / syntax and I couldn’t find
any ruby formatting… ?!? Are there some plugins somewhere?

Thx

SvT

···

On Wed, 28 Jan 2004 00:14:35 +0900, “Zach Dennis” zdennis@mktec.com wrote:

SciTE is great until you find Crimson Editor. http://www.crimsoneditor.com

Crimson isn’t perfect, but it offers a lot of things that are really nice to
have that I’ve found SciTE doesn’t offer ATM.

paul vudmaska wrote:

http://jedit.org

free -open-source - great plug-in support

I’ll second this - works great for me.

···


Chris
http://clabs.org

Safran von Twesla wrote:

regarding GD lib, I’m on windows haven’t got a problem using it, are you
using the pragprog ruby install? mingw? I use the later, didn’t tried
compiling gd myself, got the binary from the /binaries/mingw|mswin/ext
folder in a mirror
for mingw
http://www.ibiblio.org/pub/languages/ruby/binaries/mingw/1.8/ext/ruby-GD-0.7.4-i386-mingw32-1.8.tar.gz

for mswin didn’t see one, but most probably the mingw would work with
the mswin install(but I could be wrong), just unpack the GD.so to the
right dir i.e. ruby/lib/1.8/i386-msvcrt , the i386-msvcrt could be
different on mswin install, just look where the other *.so are.

and thats if using ruby-GD, see:
http://raa.ruby-lang.org/cat.rhtml?category_major=Library;category_minor=Graphics

He inserted GD.so in C:\ruby\lib\ruby\1.8\i386-mswin32 and run his
Script again… here the error:
ms-win32?, the pragprog doesn’t create a /*mswin but /*msvcrt? or is a
newer version? or is he using other windows binary?

test.rb:62: undefined method `colorAllocate’ for
#GD::Image:(100x100) (NoMethodError)

Strange, isn’t it?

Thx

SvT
I Installed the ruby-180-10, just to check it out and using the example.rb:

···

On Wed, 28 Jan 2004 03:13:51 +0900, Osuka Adartse > rocioestradacastaneda@prodigy.net.mx wrote:


require ‘GD’
im=GD::Image.new(100,100)
white = im.colorAllocate(255,255,255)
black = im.colorAllocate(0,0,0)
red = im.colorAllocate(255,0,0)
blue = im.colorAllocate(0,0,255)
im.transparent(white)
im.interlace = true

Put a black frame around the picture

im.rectangle(0,0,99,99,black)

Draw a blue oval

im.arc(50,50,95,75,0,360,blue)

And fill it with red

im.fill(50,50,red)

Convert the image to PNG and print it on standard output

file=File.new(“test.png”,“wb”)
im.png(file)

I get the test.png ok!, both with the mingw install and the
mswin(pragprog), mmmh… is other mswin install, self compiled?

run the line require ‘GD’ does it gives an error by itself?

Adartse
smoking kills, living kills, but I like both.

Check this link out for your syntax file:

http://www.crimsoneditor.com/board/CrazyWWWBoard.cgi?db=user0&mode=read&num=
346&page=1&ftype=6&fval=ruby&backdepth=1

Zach

···

-----Original Message-----
From: Safran von Twesla [mailto:me@privacy.net]
Sent: Tuesday, January 27, 2004 11:00 AM
To: ruby-talk ML
Subject: Re: Editor

On Wed, 28 Jan 2004 00:14:35 +0900, “Zach Dennis” zdennis@mktec.com wrote:

SciTE is great until you find Crimson Editor. http://www.crimsoneditor.com

Crimson isn’t perfect, but it offers a lot of things that are really nice
to
have that I’ve found SciTE doesn’t offer ATM.

Well, I have “walked” through the menu / syntax and I couldn’t find
any ruby formatting… ?!? Are there some plugins somewhere?

Thx

SvT

It looks nice, but it doesn’t seem to support code folding, nor does it have
syntax coloring for numbers.

Otherwise, it looks nice, and the latest version seemed to handle Ruby
coloring just fine (though it was a bit confusing because Ruby wasn’t listed
in the “Syntax Type” list). I didn’t have to download the special Ruby
Syntax Coloring file you linked to; it was already there when you install
3.60.

Chris

Crimson looks like a less-mature version of textpad (textpad.com).

I use textpad when I have to use windows, its what Codewrite used to be,
until it bloated beyond all belief.

Cheers
Sam

I just downloaded and installed Crimson (v 3.6) and it included Ruby syntax
highlighting in the installation.

Curt

From: Zach Dennis [mailto:zdennis@mktec.com]
Sent: Tuesday, January 27, 2004 10:04 AM
To: ruby-talk ML
Subject: Re: Editor

Check this link out for your syntax file:

http://www.crimsoneditor.com/board/CrazyWWWBoard.cgi?db=user0&mode
=read&num=
346&page=1&ftype=6&fval=ruby&backdepth=1

Zach

From: Safran von Twesla [mailto:me@privacy.net]
Sent: Tuesday, January 27, 2004 11:00 AM
To: ruby-talk ML
Subject: Re: Editor

SciTE is great until you find Crimson Editor.
http://www.crimsoneditor.com

Crimson isn’t perfect, but it offers a lot of things that are really nice
to
have that I’ve found SciTE doesn’t offer ATM.

Well, I have “walked” through the menu / syntax and I couldn’t find
any ruby formatting… ?!? Are there some plugins somewhere?

Thx

SvT

···

-----Original Message-----
-----Original Message-----
On Wed, 28 Jan 2004 00:14:35 +0900, “Zach Dennis” zdennis@mktec.com > wrote:


Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.566 / Virus Database: 357 - Release Date: 1/22/2004

Sam Roberts wrote:

Crimson looks like a less-mature version of textpad (textpad.com).

I use textpad when I have to use windows, its what Codewrite used
to be, until it bloated beyond all belief.

If it’s a “Codewrite like” editor you want (ie project workspace
management, integrated version control, scripting, class browsing,
intellisensing etc) but without the bloat then you might want to
take a look at zeus.

Zeus IDE - Programming environment for Windows developers

Jussi Jumppanen
Author of: Zeus for Windows (Shareware)

nemo wrote:

It looks nice, but it doesn’t seem to support code folding, nor
does it have
syntax coloring for numbers.

Otherwise, it looks nice, and the latest version seemed to handle Ruby
coloring just fine (though it was a bit confusing because Ruby
wasn’t listed
in the “Syntax Type” list). I didn’t have to download the special Ruby
Syntax Coloring file you linked to; it was already there when you install
3.60.

FreeRIDE is supports syntax highlighting, code folding, and has a
source-code navigation tree (show/navigate by module, class, method):

http://freeride.rubyforge.org

FreeRIDE is written in Ruby, and also has a visual debugger. Unfortunately,
the debugger only works under linux at the moment (I still need to find
extra time to find and fix the debugger problem under windows).

Curt