Enable line-numbers for text entered - How to?

R

Richard

Hi,

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?

TIA,
Richard
 
T

Timothy Goddard

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.
 
R

Richard

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.

Regards,
Richard
 
A

ara.t.howard

Hi,

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?

TIA,
Richard

gvim runs on windows...

-a
 
R

Richard

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. :)

Regards,
Richard
 
R

Richard

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
ideas?

Again, thank you very much for your help.

Regards,
Richard
 
R

Richard

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.

Regards,
Richard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top