text editor

This is a discussion on text editor within the C Programming forums, part of the General Programming Boards category; im looking for a text editor that will say the number of lines. for example i compile a program and ...

  1. #1
    nas
    nas is offline
    Registered User
    Join Date
    Jun 2002
    Posts
    14

    text editor

    im looking for a text editor that will say the number of lines. for example i compile a program and it says parse error on line 339. well its kinda a pain in the ass when i have to count each line until i get to 339. i know theres gotta be an easier way to do this.

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Personally, I use Ultra Edit, but there's a few IDE type editors about.

    In Ultra Edit, the output from the compiler is trapped and displayed in a seperate window pane, you then double click an error line, and the main window jumps to that file/line (even loads the file if necessary).
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  3. #3
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    TextPad is the boy!!

    Best editor I know....

    Binary Dumps, File Compare, Dealing with HUGE files (like database dumps), quick HTML Creation, Macro command writer, syntax highligting, spell checker, external command settings (Set it to compile/assemble/link/run...whatever with 1 menu command)....and loads of stuff I havent even used yet......

  4. #4
    Registered User stautze's Avatar
    Join Date
    Apr 2002
    Posts
    195
    i thought you mentioned in another post that you were using linux. If so "vi" or "emacs" are both considered to be pretty good for text editing. i don't use emacs, so i can only vouch for vi. It will not only show the line numbers, it will take you to them. It will also do a million other things that are very useful to coders. The learning curve is steep but short, and there are a lot of tutorials on the net.
    'During my service in the United States Congress, I took the initiative in creating the Internet.' - Al Gore, March 9, 1999: On CNN's Late Edition

  5. #5
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    PFE (Programmer's File Editor) or ConTEXT are both free editors, which support a lot of languages and you can attach compilers to them. They can display line-numbers if you configure them to do so. So if your compiler gives errors/warnings at line N, then you can easily find line N.

  6. #6
    Registered User
    Join Date
    Jun 2002
    Posts
    9
    If you are using *nix or its clones, "vi" might be editor you need. On the other hand, if you are using DOS/Win you can use Borland's IDE.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. creating very simple text editor using c
    By if13121 in forum C Programming
    Replies: 9
    Last Post: 10-19-2010, 05:26 PM
  2. C++ For Text Editor?
    By bmroyer in forum C++ Programming
    Replies: 12
    Last Post: 04-05-2005, 02:17 AM
  3. struct question
    By caduardo21 in forum Windows Programming
    Replies: 5
    Last Post: 01-31-2005, 03:49 PM
  4. help about text editor
    By nag in forum C++ Programming
    Replies: 2
    Last Post: 04-24-2003, 11:45 AM
  5. Making a text editor
    By neandrake in forum C++ Programming
    Replies: 5
    Last Post: 02-26-2002, 10:43 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21