Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Line Counter?

Options
  • 21-05-2002 3:51pm
    #1
    Registered Users Posts: 3,088 ✭✭✭


    Right all you Code monkeys
    Ive got a question for yee as their has to be a trick to
    this or something

    Basically im writing code basic php or hackin simple scripts
    to suit but my problem is this , when i get an error to go
    to line 764 lets say
    Im literally taping down the arrow key hundreds of times
    (Ive actually become quite fast at it, but thats hardly the point )
    Its stupid and their has to be a faster , easyer way

    now im using notepad , cant seem to do it in wordpad and although Im sure you can do it in word , I read somewhere
    that word mess's up your scripts and doesnt agree with .tls
    files and such. Ive also tried google and found a editor
    that solves my problems but costs $50 , but since this is all
    open source theirs got to be another package out their.

    Any knowledge would be much appreciated , thanks


Comments

  • Closed Accounts Posts: 1,651 ✭✭✭Enygma


    I'm sure you'll get loads of replies here:

    You might like Emacs (do you like pain?)

    Try Jext: www.jext.org

    Homesite is worth whatever they charge for it.

    There are loads others, notepad sux


  • Registered Users Posts: 7,412 ✭✭✭jmcc


    Originally posted by Static M.e.

    Basically im writing code basic php or hackin simple scripts
    to suit but my problem is this , when i get an error to go
    to line 764 lets say
    Im literally taping down the arrow key hundreds of times
    (Ive actually become quite fast at it, but thats hardly the point )
    Its stupid and their has to be a faster , easyer way

    Most editors based on the Borland IDE (Integrated Development Environment) use ^KL linenumber to go to the line number. (the ^ means CTRL)

    I don't use Windows based editors for writing scripts.

    Regards...jmcc


  • Registered Users Posts: 1,825 ✭✭✭Gambler


    If you do go windows there are a few options.. Notepad in 2000 has a go to line option, edit in Dos will show you your line number in the bottom right of the screen but I tend to use a code edit clone which has the line numbers visible on screen down the left hand side and can format code for easier reading.. (I use cEdit from www.planet-source-code.com T'is buggy but I have the code so I can fix probs as I find 'em, but just search for Code Edit and you will find something that works all nicey nice)


  • Banned (with Prison Access) Posts: 16,659 ✭✭✭✭dahamsta


    I use Edit Plus meself, which has line-numbering. Thirty bucks.

    Anyway, you won't find a hell of a lot of open source editors for Windows, since most developers reckon it kind of defeats the purpose developing an open source app for a closed source OS.

    On Linux, I tend to use the simplistic but fine-for-what-I-need pico, and jump to a line with:
    pico +LINENUM FILE
    

    adam


  • Registered Users Posts: 476 ✭✭Pablo


    save php files as .phps

    and then use http://validator.w3.org/

    simple out


  • Advertisement
  • Closed Accounts Posts: 512 ✭✭✭beaver


    Under Windows, you should check out Textpad. Featureful editor that isn't annoying.


  • Registered Users Posts: 3,088 ✭✭✭Static M.e.


    Thanks everyone for the help

    I tried a few of them and their all good , in the end im using
    phpmaster editor , which gives me my line counter:D
    and allows me to bring up multiple pages at once and switch
    through them, also to view the code in browser format
    which will be nice

    anyway thanks


  • Registered Users Posts: 258 ✭✭peterd


    powered_by_phpedit.jpg is a nice FREE program for php programmers.


Advertisement