| View previous topic :: View next topic |
| Author |
Message |
Instructor Site Admin
Joined: 06 Jul 2006 Posts: 4646
|
Posted: Wed Oct 20, 2010 8:57 am Post subject: |
|
|
sum1
| Code: | | AkelPad.exe "c:\1.txt" /Call("Scripts::Main", 1, "EvalCmd.js", `'var nLine=100; var nLineIndex=AkelPad.SendMessage(AkelPad.GetEditWnd(), 187 /*EM_LINEINDEX*/, nLine, 0); AkelPad.SetSel(nLineIndex, nLineIndex);'`) |
|
|
| Back to top |
|
 |
sum1
Joined: 07 Apr 2009 Posts: 13
|
Posted: Thu Oct 21, 2010 11:00 pm Post subject: |
|
|
| Instructor wrote: | sum1
| Code: | | AkelPad.exe "c:\1.txt" /Call("Scripts::Main", 1, "EvalCmd.js", `'var nLine=100; var nLineIndex=AkelPad.SendMessage(AkelPad.GetEditWnd(), 187 /*EM_LINEINDEX*/, nLine, 0); AkelPad.SetSel(nLineIndex, nLineIndex);'`) |
|
OK, I see. Thank you.
So AkelPad can even take the selection.
I'll learn the docs when I have time.
But this script sets the correct position only when WordWrap is off. I hope Logical Coordinates rather than Display Coordinates should be used.
And, if the file is already open, AkelPad cannot change the position (which EmEditor can do).
BTW, another issue:
AkelPad "File1" "File2"
Cannot open File2 when File1 is already open in AkelPad. |
|
| Back to top |
|
 |
KDJ
Joined: 06 Mar 2010 Posts: 1068 Location: Poland
|
Posted: Sun Oct 24, 2010 6:14 pm Post subject: |
|
|
| Could add at the status bar total number of lines. |
|
| Back to top |
|
 |
Instructor Site Admin
Joined: 06 Jul 2006 Posts: 4646
|
Posted: Fri Nov 05, 2010 9:26 pm Post subject: |
|
|
sum1
In 4.5.0 you can use alternative way:
| Code: | | AkelPad.exe "c:\1.txt" /Call("Scripts::Main", 1, "EvalCmd.js", `'var pLine="100"; AkelPad.SendMessage(AkelPad.GetMainWnd(), 1206 /*AKD_GOTOW*/, 0x1 /*GT_LINE*/, AkelPad.MemStrPtr(pLine));'`) |
|
|
| Back to top |
|
 |
Instructor Site Admin
Joined: 06 Jul 2006 Posts: 4646
|
Posted: Wed Mar 16, 2011 4:36 pm Post subject: |
|
|
| KDJ wrote: | | I need a function: Restore the original font size (eg. Ctrl+Num*). | See 4.5.6 release. |
|
| Back to top |
|
 |
KDJ
Joined: 06 Mar 2010 Posts: 1068 Location: Poland
|
Posted: Thu Sep 01, 2011 7:16 pm Post subject: |
|
|
Instructor
In program settings, you can add top and bottom margins. |
|
| Back to top |
|
 |
KDJ
Joined: 06 Mar 2010 Posts: 1068 Location: Poland
|
Posted: Fri Oct 14, 2011 7:10 pm Post subject: |
|
|
I propose to add a command line parameter, which will run AkelPad in hidden window (eg. /H or /hide).
It will be useful when running certain scripts:
AkelPad.exe /hide /Call("Scripts::Main", 1, "WindowsList.js") /quit |
|
| Back to top |
|
 |
Instructor Site Admin
Joined: 06 Jul 2006 Posts: 4646
|
Posted: Tue Oct 18, 2011 6:13 pm Post subject: |
|
|
KDJ
In developed 4.7.0 possible to do it like that:
| Code: | | nircmd.exe exec hide AkelPad.exe /Call("Scripts::Main", 2, "WindowsList.js") /quit |
|
|
| Back to top |
|
 |
KDJ
Joined: 06 Mar 2010 Posts: 1068 Location: Poland
|
Posted: Tue Oct 18, 2011 6:38 pm Post subject: |
|
|
Instructor
Thank you very much.
Can it be done without using additional software (nircmd.exe)? |
|
| Back to top |
|
 |
HastaLuego
Joined: 14 Aug 2010 Posts: 3 Location: Saratov
|
Posted: Mon Nov 14, 2011 6:14 pm Post subject: |
|
|
Respect!! Greatist editor I have, most flexible.
One thing is missing, or I'm stupid.
I couldn't drug the child edit window in multiview (MDI) option out of the field of the main window frame. Is it possible to fix that? Though it is not a bug, just would be a nice feature. Like that of a Maxthon browser, where it is possible to detach the tabs.
C уважением
В.А.
P.S. Никакие внешние приблуды не помогают сделать editwindow topmost. |
|
| Back to top |
|
 |
Urasmus Guest
|
Posted: Wed Jan 18, 2012 7:48 am Post subject: |
|
|
I propose to show at the status bar, the caret offset in the text.
Last edited by Urasmus on Tue Feb 14, 2012 9:33 am; edited 1 time in total |
|
| Back to top |
|
 |
Instructor Site Admin
Joined: 06 Jul 2006 Posts: 4646
|
Posted: Wed Jan 18, 2012 2:59 pm Post subject: |
|
|
Urasmus
See AkelHelp-Eng.htm for StatusUserFormat manual parameter. |
|
| Back to top |
|
 |
KDJ
Joined: 06 Mar 2010 Posts: 1068 Location: Poland
|
Posted: Tue May 22, 2012 7:49 pm Post subject: |
|
|
| I would like to make AkelPad save the type of text selection (columnar) in recent and in sessions. |
|
| Back to top |
|
 |
qoshinator
Joined: 11 Apr 2012 Posts: 36
|
Posted: Thu May 24, 2012 9:13 am Post subject: |
|
|
| Ability to use the mouse scroll wheel to scroll through tabs. |
|
| Back to top |
|
 |
KDJ
Joined: 06 Mar 2010 Posts: 1068 Location: Poland
|
Posted: Thu May 24, 2012 9:49 am Post subject: |
|
|
qoshinator
This ability already exists in Scroll plugin:
Scroll::AutoFocus |
|
| Back to top |
|
 |
|