Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 2nd, 2008, 7:27 PM   #1
Solve
Newbie
 
Join Date: Jul 2008
Posts: 3
Rep Power: 0 Solve is on a distinguished road
easy way to find the line number

Probably this question will make the experienced ones laugh but I use notepad to code and when there is an error it gives me the line number.
Notepad does not give a line number to find out where the problem is.
How do you work around this? If you do not use NOtepad what do you use?
Student here and no budget to buy any software.
Solve is offline   Reply With Quote
Old Jul 2nd, 2008, 7:35 PM   #2
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Posts: 1,827
Rep Power: 5 Sane will become famous soon enough
Re: easy way to find the line number

In notepad you should be able to hit "Ctrl-G" and type in the line number.
Sane is offline   Reply With Quote
Old Jul 2nd, 2008, 9:32 PM   #3
Jabo
Not a user?
 
Join Date: Sep 2007
Posts: 255
Rep Power: 1 Jabo is on a distinguished road
Re: easy way to find the line number

You can download JEdit for free, and they have many many plugins for different programming languages; with the popularity of PHP, I'd be willing to bet they have a plugin for PHP.
Jabo is offline   Reply With Quote
Old Jul 2nd, 2008, 10:48 PM   #4
ZenMasterJG
Hobbyist Programmer
 
ZenMasterJG's Avatar
 
Join Date: Nov 2004
Location: Boston, MA
Posts: 148
Rep Power: 4 ZenMasterJG is on a distinguished road
Send a message via AIM to ZenMasterJG
Re: easy way to find the line number

There are a variety of free editors out there, and (arguably) every single one of them is better than notepad. Here are just a few I've used over the years, in no particular order:
Notepad++ (http://notepad-plus.sourceforge.net/uk/site.htm)
UliPad (http://code.google.com/p/ulipad/)
Komodo Edit (http://www.activestate.com/Products/...odo_edit.mhtml)

And my all time favorite, Emacs. (http://www.gnu.org/software/emacs/)

Different people like different editors. Try a bunch and see what you like. I've tried dozens, but always end up coming back to Emacs.
ZenMasterJG is offline   Reply With Quote
Old Jul 2nd, 2008, 11:10 PM   #5
Solve
Newbie
 
Join Date: Jul 2008
Posts: 3
Rep Power: 0 Solve is on a distinguished road
tx

tx everybody. Sane I tried ctl-G nothing happend.
I looked in the help and ended up in EDIT menu. There is a "Goto Ctrl+G" option but mine is light gray meaning I can not click on it. How do you do it?
Solve is offline   Reply With Quote
Old Jul 2nd, 2008, 11:26 PM   #6
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Posts: 1,827
Rep Power: 5 Sane will become famous soon enough
Re: easy way to find the line number

That's strange. I don't know what that means. It's clickable for me.

I'd suggest looking into some of the editors mentioned above. Good luck.
Sane is offline   Reply With Quote
Old Jul 2nd, 2008, 11:33 PM   #7
grimpirate
King of Portal
 
grimpirate's Avatar
 
Join Date: Sep 2005
Posts: 419
Rep Power: 3 grimpirate is on a distinguished road
Send a message via Yahoo to grimpirate
Re: easy way to find the line number

Look around the PHP forum. I remember doing something a while back which would parse PHP code (using PHP) and display the line numbers next to them. People replied with even better ways to do it. That way you could look at your code with line numbers without having to download or install another program.
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis
grimpirate is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Entering a Number or Letter kewlgeye Java 9 Apr 5th, 2008 3:55 PM
Line Number grimpirate PHP 2 Apr 2nd, 2008 3:48 PM
Jumping to a specific line number in a text file Adeil C++ 4 Nov 5th, 2007 9:54 AM
find max number in an array paulmedic555 C 4 Nov 20th, 2006 10:01 AM
Installing IPB 2.03 bh4575 Other Web Development Languages 0 Apr 23rd, 2005 2:36 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:11 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC