Hello!
Freddy, can you place the total number of lines to appear at the bottom of the IDE?
Every time I want to know it, I have to scroll down to the bottom of the source code...
Thanks!
[PB5.31+] Total number of source code lines
- marcoagpinto
- Addict
- Posts: 947
- Joined: Sun Mar 10, 2013 3:01 pm
- Location: Portugal
- Contact:
Re: [PB5.31+] Total number of source code lines
1.) Press a key (e.g. <Space>)marcoagpinto wrote:Every time I want to know it, I have to scroll down to the bottom of the source code...
2.) Press <Ctrl> + <End>
3.) Take a look at the linenumber
4.) Press <Ctrl> + <Z> (to undo Step 1 and jump to your last position)
That's all.
Greetings ... Peter
Hygge
Re: [PB5.31+] Total number of source code lines
It sure would be convenient to have the total number lines on that status bar.
Also a single-click feature that could process all the sources tied and give total number of lines without having to compile every-time.
Also a single-click feature that could process all the sources tied and give total number of lines without having to compile every-time.
ʽʽSuccess is almost totally dependent upon drive and persistence. The extra energy required to make another effort or try another approach is the secret of winning.ʾʾ --Dennis Waitley
Re: [PB5.31+] Total number of source code lines
I'm curious: what use do you have for that information ?
I've never felt the need to know how many lines long is something I'm working on... the most close to that it's the size in bytes of the whole project if I need to transfer / deploy it in some way.
@Kiffi
Isn't CTRL+END followed by CTRL+L enough ?
I've never felt the need to know how many lines long is something I'm working on... the most close to that it's the size in bytes of the whole project if I need to transfer / deploy it in some way.
@Kiffi
Isn't CTRL+END followed by CTRL+L enough ?
"Have you tried turning it off and on again ?"
A little PureBasic review
A little PureBasic review
-
- Always Here
- Posts: 6425
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: [PB5.31+] Total number of source code lines
Not sure why one would need a line count (perhaps a Tutor's requirement?) but since the PB IDE is using Scintilla, it should be possible to add a command that invokes the SCI_GETLINECOUNT function as a short cut (Tool).
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: [PB5.31+] Total number of source code lines
ah, much more easier!luis wrote:Isn't CTRL+END followed by CTRL+L enough ?
Thanks & Greetings ... Peter
Hygge