LineBoard plugin
- Author
- Message
-
Offline
- Posts: 2247
- Joined: Tue Aug 07, 2007 2:03 pm
- Location: Vinnitsa, Ukraine
Нашел вот такой вот баг(очень похож на viewtopic.php?p=3181#p3181 но я не уверен) или я недопонимаю принципа работы плагина:
AkelPad MDI режиме, LineBoard запущен(и установлен в автозагрузку).
Если создавать новый документ(посредством меню или CTRL+N) когда активен документ с одной строкой или пустой - в новом созданном не отображается LineBoard, если же был активен многострочный документ - отображается.
При обычном открытии (посредством "akelpad.exe") в созданом пустом документе отображается LineBoard(т.е. тут как бы первая часть описания бага не воспроизводится)
ЗЫ: чувствую что больше виновен сам редактор а не плаг.
AkelPad MDI режиме, LineBoard запущен(и установлен в автозагрузку).
Если создавать новый документ(посредством меню или CTRL+N) когда активен документ с одной строкой или пустой - в новом созданном не отображается LineBoard, если же был активен многострочный документ - отображается.
При обычном открытии (посредством "akelpad.exe") в созданом пустом документе отображается LineBoard(т.е. тут как бы первая часть описания бага не воспроизводится)
ЗЫ: чувствую что больше виновен сам редактор а не плаг.
-
Offline
- Site Admin
- Posts: 6311
- Joined: Thu Jul 06, 2006 7:20 am
-
Offline
- Posts: 1862
- Joined: Mon Aug 06, 2007 1:07 pm
- Contact:
-
Offline
- Posts: 57
- Joined: Sun Jul 27, 2008 6:47 am
- Location: slovakia
@instructor: have you seen my request regarding disabling board features and keeping just bookmarks? Or can these 2 be seperated? Or... have you got any idea please?
The problem is I don't want to view line numbers since line number is accessible from the status bar but I'd be happy to take advantage of bookmarks features.
The problem is I don't want to view line numbers since line number is accessible from the status bar but I'd be happy to take advantage of bookmarks features.
-
Offline
- Site Admin
- Posts: 6311
- Joined: Thu Jul 06, 2006 7:20 am
-
Offline
- Posts: 11
- Joined: Tue Jan 20, 2009 9:15 am
Hi,
Love Akelpad.
Just one question about the LineBoard plugin.
If "Wrap words" is turned on and if you do not use a line return, shouldn't the line number not increment by 1?
eg. LineBoard currently shows this:
1 | djfkjdflkjdflkjdfkdjfljsdkfjlskjdflksdfds
2 | dfhsdkjhfkdjshfkjsdhfkjdshfkjsdhfkdsj
3 | jhdfkjshdkfjhdskjfhdskjfhdksjfhdksjfh
It should display like this:
1 | djfkjdflkjdflkjdfkdjfljsdkfjlskjdflksdfds
| dfhsdkjhfkdjshfkjsdhfkjdshfkjsdhfkdsj
| jhdfkjshdkfjhdskjfhdskjfhdksjfhdksjfh
Love Akelpad.
Just one question about the LineBoard plugin.
If "Wrap words" is turned on and if you do not use a line return, shouldn't the line number not increment by 1?
eg. LineBoard currently shows this:
1 | djfkjdflkjdflkjdfkdjfljsdkfjlskjdflksdfds
2 | dfhsdkjhfkdjshfkjsdhfkjdshfkjsdhfkdsj
3 | jhdfkjshdkfjhdskjfhdskjfhdksjfhdksjfh
It should display like this:
1 | djfkjdflkjdflkjdfkdjfljsdkfjlskjdflksdfds
| dfhsdkjhfkdjshfkjsdhfkjdshfkjsdhfkdsj
| jhdfkjshdkfjhdskjfhdskjfhdksjfhdksjfh
-
Offline
- Posts: 147
- Joined: Fri Feb 08, 2008 6:41 pm
- Location: British Columbia, Canada
What about printing?
djray,
Yes, I "sort of" agree with you, but the status bar also reports visible lines, rather than actual lines. Remember, if you print a page containing 1 line (but 1000 characters long), and you have word wrap on, you get multiple lines of print, just as displayed. Maybe it is better to report visible lines rather than actual. And if you wanted to split hairs, what if you haven't actully pressed Enter (ie. added a line ending) - do you even have 1 line (ha, ha)?
By the way, Windows Notepad "solves" the problem by eliminating the status bar when wordwrap is on!
- Surveyor
Yes, I "sort of" agree with you, but the status bar also reports visible lines, rather than actual lines. Remember, if you print a page containing 1 line (but 1000 characters long), and you have word wrap on, you get multiple lines of print, just as displayed. Maybe it is better to report visible lines rather than actual. And if you wanted to split hairs, what if you haven't actully pressed Enter (ie. added a line ending) - do you even have 1 line (ha, ha)?
By the way, Windows Notepad "solves" the problem by eliminating the status bar when wordwrap is on!
- Surveyor
-
Offline
- Posts: 11
- Joined: Tue Jan 20, 2009 9:15 am
-
Offline
- Posts: 147
- Joined: Fri Feb 08, 2008 6:41 pm
- Location: British Columbia, Canada
Line numbering - wordwrap
djray,
As a "temporary" workaround, of course, you can use the Toolbar plugin (which has a button already, as a default) to control wordwrap. The line numbering method you are talking about is correct if wordwrap is off (if I understand you well). The Wordwrap button can change the line numbering quickly back and forth; the caret position is preserved. The Ctrl+U hotkey does the same thing (toggle wordwrap).
As the Rolling Stones sing - "You can't always get what you want!"
BTW, I personally find when programming that wordwrap is a nuisance. Indenting is important for clarity when programming, and wordwrap tends to confuse that.
- Surveyor
Yes, you are probably right - a choice would be nice. However, I know that Instructor receives MANY requests for individual features (as is seen in the forums) and cannot implement them all.I think the best thing to do is to offer the user a choice between actual line count and visual line count.
As a "temporary" workaround, of course, you can use the Toolbar plugin (which has a button already, as a default) to control wordwrap. The line numbering method you are talking about is correct if wordwrap is off (if I understand you well). The Wordwrap button can change the line numbering quickly back and forth; the caret position is preserved. The Ctrl+U hotkey does the same thing (toggle wordwrap).
As the Rolling Stones sing - "You can't always get what you want!"
BTW, I personally find when programming that wordwrap is a nuisance. Indenting is important for clarity when programming, and wordwrap tends to confuse that.
- Surveyor
-
Offline
- Posts: 1
- Joined: Wed Mar 04, 2009 1:46 pm
about actual line count
i also want the same function!djray wrote:hi surveyor,
I believe that it should be actual line count instead of visual because this is very important when coding in any computer language.
I think the best thing to do is to offer the user a choice between actual line count and visual line count.
What do you think?
-
Offline
- Site Admin
- Posts: 6311
- Joined: Thu Jul 06, 2006 7:20 am
Changed: default Alt+Up and Alt+Down replaced with Alt+Num 8 and Alt+Num 2 to prevent column selection conflict.
Fixed: work with split window.
LineBoard plugin v3.6
Fixed: work with split window.
LineBoard plugin v3.6
-
Offline
- Site Admin
- Posts: 6311
- Joined: Thu Jul 06, 2006 7:20 am