How to add a new line when double clicked at end-of-line?
Posted: Sat Oct 14, 2017 8:27 am
I am using akelpad ver 4.9.8(X64), sometimes I pick some text and paste to akelpad for later reference, during this process no keyboard manipulation should be required, but it's an annoyance that I have to manually press enter for each line I pasted, so I hope to find a way to automatically add a new line when I double click the mouse at end of line. I think the function should work in this way:
1. Triggered by double click at the end of line or at the end of file
2. If double clicked at the end of one line ,automatically add a new line under that line,and If there is a blank line available under the line triggered double click , no action should be performed.
3. Automatically add gieven number of new lines when mouse double clicked at end of file, and If there are a preset number of blank lines available at end of file ,no action should be performed.
4. After these processes,the caret keeps stay at the position where it clicked.
I have no idea on how to make this script,can anyone give me some help?
1. Triggered by double click at the end of line or at the end of file
2. If double clicked at the end of one line ,automatically add a new line under that line,and If there is a blank line available under the line triggered double click , no action should be performed.
3. Automatically add gieven number of new lines when mouse double clicked at end of file, and If there are a preset number of blank lines available at end of file ,no action should be performed.
4. After these processes,the caret keeps stay at the position where it clicked.
I have no idea on how to make this script,can anyone give me some help?