Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Text Editors

by MrCromeDome (Deacon)
on Jul 09, 2003 at 03:06 UTC ( [id://272550]=note: print w/replies, xml ) Need Help??


in reply to Text Editors

Well, had you said Windows, I'd have said ConTEXT. It rocks my world :)

But I also do my share of editing in *nix environments. In those instances, I go with Vi or Vim (whichever is available to me). For Perl, I just don't think you can do better :)

Cheers!
MrCromeDome

Replies are listed 'Best First'.
Re2 (ConTEXT): Text Editors
by bbfu (Curate) on Jul 09, 2003 at 06:27 UTC

    ConTEXT looked interesting, so I decided to check it out. Unfortunately, there was one really annoying thing about it that was so obvious, I wonder if there's something wonky with the copy I downloaded.

    I went to edit a C or Perl file, and created a new function, as thus:

    sub foo {

    When I pressed enter, though, instead of indenting two spaces from the column "sub" started in (as it should according to the setting of 2 in C/Java Block Indent), it indented two spaces from the column the opening curly brace was in, like so:

    sub foo { # When I pressed enter, #<< cursor started here.

    It worked fine if I put the opening curly on the next line, but that totally goes against my style. This just seems so off that I had to ask... Is this normal? Does your copy do that? Note, I downloaded the newest version available on their website (0.97.2a). I haven't (yet) tried an older version. Er, make that "They don't have an older version available."

    As a side note, I have to say that I personally use Vim exclusively, and usually use GVim unless I'm editing something quick in the console, but I'm evaluating other Windows editors because my girlfriend is taking a couple of programming classes now and she needs something decent, that isn't as complicated as Vim.

    bbfu
    Black flowers blossom
    Fearless on my breath

      *sigh* Until recently I was on the ConTEXT team. The problem that you mention wasn't a problem. It's the smart-tabs feature and can be turned off.

      Having said that, I can't recommend ConTEXT anymore. It has bigger issues. The 0.97.2 version has a serious bug that can, and often will delete any Read-Only file you attempt to open. As if this wasn't bad enough, the developer has dissapeared for several months. Nobody knows where he is, and since the project isn't open-source, we were all at a loss. All we could do was link people to the 0.96.3 version which I had available on my site, and pray that nobody was seriously hurt by the 0.97.2 release that we had no way of removing. IT really chaffed.

      After several months of daily beatings on the ConTEXT forums, I announced I was done, and have started a new project to identify OPen-Source editors that have the same, simlar, or better feature sets than ConTEXT. Once we find them, we plan to rate them, and submit them to the community. We've got a PERP Project Page that is being developed to facilitate this. If you're interested in helping with this project, check out the ConTEXT forum at Code-Foo. Information is available there. =)

      If there's interest, I can post links to the results once we're finished.

      Nuke
      nuke@nuke3d.com
      www.nuke3d.com

        For the record, I did try changing the settings of smart-tab, tab indent, tab width, block indent, C/Java block indent, and tab mode, all to no avail.

        Thanks for the warning. I'll definately check out those sites.

        bbfu
        Black flowers blossom
        Fearless on my breath

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://272550]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-03-29 11:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found