AkelPad Forum Index AkelPad
Support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

A bug and a few requests

 
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English)
View previous topic :: View next topic  
Author Message
Bret



Joined: 28 Sep 2010
Posts: 3

PostPosted: Tue Sep 28, 2010 4:12 pm    Post subject: A bug and a few requests Reply with quote

I think I found a bug in AkelPad 4.4.9. After using the keyboard to perform a menu command, the next key pressed does not go to the document. For example, instead of using Ctrl+S to save an existing document, choose it from the File menu by pressing Alt+F, S. Then type a character and it will not appear at the cursor. Or if you press Delete after saving that way, a character is deleted but the next character typed will not appear.

This also might be classified as a bug. Several menus are no longer accessible with the standard keyboard shortcuts (indicated by the underlined letter).
View: Alt+V is now Columnar Paste
Window: Alt+W is now Reopen file as ANSI (Windows)
Would it be possible to restore the standard shortcuts and assign new alternative ones, like Ctrl+Alt+V and Alt+A respectively, to those functions?

I've also been building a list of feature requests or possible improvements as I use AkelPad more and more.

When pressing F3 (Find Next), could a little "Not found" message box appear when no matches are found, similar to doing a search with the Find dialog?

The Esc key is currently assigned to Exit. Could there be an option to disable that? As a former 'vi' user, I have a tendency to press Esc and accidentally close all saved files or exit if they have all been saved.
Edit: I see there is a separate Exit plugin to implement this small change if not using the bigger Hotkeys plugin.

Could a Close command be added to the File menu so the typical Alt+F, C sequence closes a file? It took a while to realize that files and windows were essentially interchangeable.

When indenting a block of text, would it be possible to not indent blank lines within the block?

When selecting several lines of text, it looks like there is a space at the end of the lines when there really is not. Would it be possible to not highlight beyond the end of the actual text during selection?

Finally, could repeated undo actions be grouped together? For example, if I press delete multiple times to delete some text, undo treats each keypress as a separate action.

Thanks for writing and improving AkelPad. Keep up the good work!
Bret


Last edited by Bret on Tue Sep 28, 2010 8:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
FeyFre



Joined: 07 Aug 2007
Posts: 2060
Location: Vinnitsa, Ukraine

PostPosted: Tue Sep 28, 2010 4:42 pm    Post subject: Reply with quote

Quote:
I think I found a bug in AkelPad 4.4.9. After using the keyboard to perform a menu command, the next key pressed does not go to the document. For example, instead of using Ctrl+S to save an existing document, choose it from the File menu by pressing Alt+F, S. Then type a character and it will not appear at the cursor. Or if you press Delete after saving that way, a character is deleted but the next character typed will not appear.
Confirmed. Are you using any plugins?
Quote:
This also might be classified as a bug. Several menus are no longer accessible with the standard keyboard shortcuts (indicated by the underlined letter).
View: Alt+V is now Columnar Paste
Window: Alt+W is now Reopen file as ANSI (Windows)
Would it be possible to restore the standard shortcuts and assign new alternative ones, like Ctrl+Alt+V and Alt+A respectively, to those functions?
Quote:
The Esc key is currently assigned to Exit. Could there be an option to disable that? As a former 'vi' user, I have a tendency to press Esc and accidentally close all saved files or exit if they have all been saved.
HotKey plugin will help you Smile

Quote:
When selecting several lines of text, it looks like there is a space at the end of the lines when there really is not. Would it be possible to not highlight beyond the end of the actual text during selection?
My old wish. Smile Goto Settings -> Editor1 -> Text Margin and set right/left value to zero.
Quote:
When indenting a block of text, would it be possible to not indent blank lines within the block?
It can be achieved using Scripts plugin.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Bret



Joined: 28 Sep 2010
Posts: 3

PostPosted: Tue Sep 28, 2010 5:11 pm    Post subject: Reply with quote

FeyFre wrote:
Confirmed. Are you using any plugins?

No, I am not using any plugins, especially if they are the first to be blamed for bugs. However, if that's the only way to get a little more functionality, I will have to look into the plugins mentioned. Thanks.

Quote:
Quote:
When selecting several lines of text, it looks like there is a space at the end of the lines when there really is not. Would it be possible to not highlight beyond the end of the actual text during selection?
My old wish. :) Goto Settings -> Editor1 -> Text Margin and set right/left value to zero.

I had already set my left and right text margins to zero. The right margin is just the gap between where text appears and the scrollbar, not between the end of the last character on a line and where the selection highlighting ends.
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5524

PostPosted: Wed Sep 29, 2010 11:03 am    Post subject: Reply with quote

Bret wrote:
After using the keyboard to perform a menu command, the next key pressed does not go to the document.
Fixed.

Quote:
This also might be classified as a bug.
It is not a bug. You can assign "Command(-1)" for Alt+V and Alt+W in HotKeys plugin, to turn off acceletators for those hotkeys.

Quote:
When pressing F3 (Find Next), could a little "Not found" message box appear when no matches are found, similar to doing a search with the Find dialog?
With the development version it is possible to assign F3 to following script:

FindNextDown.js
Code:
var hMainWnd=AkelPad.GetMainWnd();

if (AkelPad.SendMessage(hMainWnd, 273 /*WM_COMMAND*/, 4159 /*IDM_EDIT_FINDNEXTDOWN*/, 0) == -1)
  AkelPad.MessageBox(hMainWnd, "Search finished", "AkelPad", 0x40 /*MB_OK|MB_ICONINFORMATION*/);


And Shift+F3 to:

FindNextUp.js
Code:
var hMainWnd=AkelPad.GetMainWnd();

if (AkelPad.SendMessage(hMainWnd, 273 /*WM_COMMAND*/, 4160 /*IDM_EDIT_FINDNEXTUP*/, 0) == -1)
  AkelPad.MessageBox(hMainWnd, "Search finished", "AkelPad", 0x40 /*MB_OK|MB_ICONINFORMATION*/);


Quote:
The Esc key is currently assigned to Exit.
Exit plugin as you founded or assign "Command(0)" to Escape key in Hotkeys plugin.

Quote:
Could a Close command be added to the File menu so the typical Alt+F, C sequence closes a file? It took a while to realize that files and windows were essentially interchangeable.
Use ContextMenu plugin to add item in file menu with "Command(4324)" instruction.

Quote:
When indenting a block of text, would it be possible to not indent blank lines within the block?
Use the next script code:
Code:
var hMainWnd=AkelPad.GetMainWnd();

AkelPad.SendMessage(hMainWnd, 273 /*WM_COMMAND*/, 4164 /*IDM_EDIT_INSERT_TAB*/, 0);
AkelPad.SendMessage(hMainWnd, 273 /*WM_COMMAND*/, 4174 /*IDM_EDIT_DELETE_TRAILING_WHITESPACES*/, 0);


Quote:
When selecting several lines of text, it looks like there is a space at the end of the lines when there really is not. Would it be possible to not highlight beyond the end of the actual text during selection?

Set PaintOptions to 2. For more info see "Manual settings" in AkelHelp-Eng.htm.

Quote:
Finally, could repeated undo actions be grouped together? For example, if I press delete multiple times to delete some text, undo treats each keypress as a separate action.
Only typing operations grouped not delete.
Back to top
View user's profile Send private message Send e-mail
Bret



Joined: 28 Sep 2010
Posts: 3

PostPosted: Wed Sep 29, 2010 5:07 pm    Post subject: Reply with quote

Instructor
Thank you for locating and fixing the keypress bug. I also appreciate your instructions on how to implement the other modifications to be more Windows-standard. Since I'm a C programmer, I'm considering downloading the source code and compiling my own build so I don't have to use so many plugins and scripts. In the meantime, your recommended solutions will be helpful.

Thanks again, Instructor, for releasing AkelPad as open source as well as updating and supporting it!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


SourceForge.net Logo Powered by phpBB © 2001, 2005 phpBB Group