Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re2 (ConTEXT): Text Editors

by bbfu (Curate)
on Jul 09, 2003 at 06:27 UTC ( #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
Node Status?
node history
Node Type: note [id://272586]
help
Chatterbox?
[Corion]: haukex: I've only now arrived at that revelation ;)
[Corion]: choroba: I use spod5, which also has that support, and also implements its own kinda-make stuff
[haukex]: But that module I just linked to assumes that most verbatim blocks are runnable code, I have other modules where that's not the case, so there I just copy-and-paste the synopsis into the author tests...
[haukex]: not the most efficient, but then again, I don't have that many modules on CPAN :-)
[Corion]: haukex: Yes, but if it's only supposed to run on my machine, I can be far more liberal with how I extract the code etc.
[Corion]: haukex: Yes - I see the benefit of using Dist::Zilla for people with 150+ modules on CPAN, but I don't see it for myself, and I'm always put off from contributing to such modules because they require a lot of toolchain setup that I don't want to ...
[Corion]: ... spend time on if I only want to provide a short patch
[haukex]: Corion: Yes exactly, in the author tests I don't worry about portability as much, I also don't list the author tests' dependencies in Makefile.PL
[haukex]: I figure someone who wants to contribute will know how to install the missing modules ;-) Not the nicest way to go but I don't think many people are using my modules yet

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (11)
As of 2017-02-27 12:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (385 votes). Check out past polls.