Forum: Ruby Enable line-numbers for text entered - How to?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Richard (Guest)
on 2006-03-30 02:24
(Received via mailing list)

I'm running ver. 1.59 and using SciTE primarily for writing Ruby
scripts.  I'd like to enable line numbers so that I can more easily
locate lines specified in Ruby diagnostics.

BTW,  do later versions offer any important significant benefits for
average Ruby programmers?

Timothy G. (Guest)
on 2006-03-30 03:01
(Received via mailing list)
I'm not sure about line numbers in SciTE, but you should definitely
upgrade to a more recent version of Ruby. There are significant
improvements in the standard libraries and interpreter, so I would
recommend upgrading to 1.8.4 ASAP. There's no need to stick with an old
version when it's so easy to install. If you're on Windows, there's a
one-click installer that'll do it all for you.
Richard (Guest)
on 2006-03-30 03:16
(Received via mailing list)
Thanks, Timothy.

I see that SourceForge has a near-final release of 1.8.4.  That sounds
pretty good, except I have one concern:  I've got Rails installed as
well as Scite and other stuff,  and I got them all using Ruby Gems.
So I fell reluctant to do any SciTE until the Gem for it is updated.
What do you think?

In the meantime,  I hope someone else post a how-to on line numbering.

unknown (Guest)
on 2006-03-30 03:22
(Received via mailing list)
On Thu, 30 Mar 2006, Richard wrote:

> Richard
gvim runs on windows...

James B. (Guest)
on 2006-03-30 04:34
(Received via mailing list)
removed_email_address@domain.invalid wrote:
>> TIA,
>> Richard
> gvim runs on windows...

Richard (Guest)
on 2006-03-30 06:54
(Received via mailing list)
Hey Jim and Ara,

You guys are over my head.

My humble question is how to get SciTE v. 1.59 running on WinXP-Pro/SP2
to spit out line numbers for the text lines I pump in to it.  Before I
retired 5 years ago, I knew how to configure SciTE.  Now that I "pick
up my keyboard and mouse" again,  I find that I'm a little rusty,  to
put it mildly.

So if you guys could just point me in the right direction, I'd be most
appreciative.  Besides,  you'll feel good knowng you've helped out one
of America's senior citizens. :-)

Bhrgunatha Deva (Guest)
on 2006-03-30 08:40
(Received via mailing list)
Richard wrote:
> So if you guys could just point me in the right direction, I'd be most
> appreciative.  Besides,  you'll feel good knowng you've helped out one
> of America's senior citizens. :-)
> Regards,
> Richard
Options | Open User Options File
add this command:

Although I'm using 1.67 it should work for you.
mitchell (Guest)
on 2006-03-30 16:41
(Received via mailing list)
In your file (or global):
line.margin.visible = 1

I hope thats the case in older versions of Scite, but head over to
for more customization info for your properties file
Richard (Guest)
on 2006-03-30 19:30
(Received via mailing list)
Thanks, Mitchell.

That link was great!

"line.margin.visible=1" and "line.margin.width=1+" did the trick for
ver. 1.59 under WinXP

Embarasments: [1]  The View menu would have allowed me to turn
line-nubers on and off (but with a default width). [2] The Help/SciTE
Help menu item would have gotten me to the file whose link you so
kindly provided. [3] I could have modified the relevant properties file
merely by clicking Options/Ruby properties (instead of opening it in
Notepad, the way I did.)

My worst embarasment: Yesterday I was toggling breakpoints on and off
by left-clicking  in the margin opposite desired script lines.  Today
that's not working. I commented out the new options to no avail.  Did I
accidentally destroy something in the options file, perhaps?  Any

Again,  thank you very much for your help.

Richard (Guest)
on 2006-03-31 05:46
(Received via mailing list)
Hi Mitchell,

I think my recollection of toggling breakpoints in SciTE for Ruby
programs is mistaken.  I was toggling breakpoint in Microsoft Visual
Studio.NET for some C++/MFT development.

Sorry for the mix-up.

Again, thanks for your excellent help on line-numbers.

This topic is locked and can not be replied to.