Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re2 (ConTEXT): Text Editors

by bbfu (Curate)
on Jul 09, 2003 at 06:27 UTC ( [id://272586]=note: print w/replies, xml ) Need Help??


in reply to Re: Text Editors
in thread Text Editors

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

Replies are listed 'Best First'.
Re: Re2 (ConTEXT): Text Editors
by Nuke (Scribe) on Jul 09, 2003 at 08:33 UTC

    *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://272586]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-19 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found