Page 1 of 1

How I could set the width of the each tab?

Posted: Fri Sep 01, 2017 4:50 am
by tatagi
I am using akelpad ver 4.6.2(x86) for your information and


I wonder how to change the value of the width of tab regardless how long my file name is, because its kinda annoying for each tab to occupy considerable space. please direct me to the exact way to do this

8)

Posted: Fri Sep 01, 2017 8:24 am
by opk44
tatagi
1. See "\AkelFiles\Docs\AkelHelp-Eng.htm" --> 5.Manual settings --> (TabNameFind + TabNameRep)
2. Use script "AkelPadManualSettings.js" if you need GUI for manual settings.

I cant understand what you say

Posted: Fri Sep 01, 2017 11:23 am
by tatagi
sorry I am not so tech savvy could you explain in further detail?

Posted: Fri Sep 01, 2017 6:01 pm
by KDJ
tatagi
AkelPad version 4.6.2 does not support TabNameFind/TabNameRep parameters.
This feature was introduced in version 4.8.6.
So:
1. First you need to update AkelPad, preferably to the latest version 4.9.8.
2. Read documentation: ...\AkelPad\AkelFiles\Docs\AkelHelp-Eng.htm (chapter 5. Manual settings).
3. Download the script AkelPadManualSettings.js using AkelUpdater.exe.
4. Run this script (Alt+P -> Scripts::Main -> AkelPadManualSettings.js).
5. Set parameters "TabNameFind" and "TabNameRep".

I did what you suggested

Posted: Sat Sep 02, 2017 9:01 am
by tatagi
but I dont understand what the parameter stands for

the example shows the parameter this way

for tabnamefind
Example: (.{20}).{3,}(?:\.([^.]*))?

for tabnamerep
Example: \1...\2


so How exactly could I change the value of these two? I tried 1,2,3,4 etc.... nothing worked ...
I woud appreciate if you explain to me what {20} and {3,} \1 \2 means each

which part of the above should I modify? Thank you so much

I am so satisfied with this notepad and would keep using if I can sort this out


ps)1. when I try to scroll down using scrollbar at the right side, unlike windows builtin notepad, I have to put the mouse cursor inside the scrollbar. in full screen it gives you nuisance since you must care about putting the cursor exactly on the bar to scroll down instead of just pulling my cursor all the way right and click it and scroll down which is much easier.

2.how could I set home/end key click to getting to top/bottom of the screen instead of ctrl+home key combo?
3.how could I set in a way that akelpad remember the last view line of each document on exiting based on where I scrolled to, rather than where the mouse cursor is clicked
4.if I copy text from pdf viewer to paste into akelpad, it pastes text without spaces.any solution?

many questions , arent they? but I am sure many of them would feel convenient if all these are made possible :)

Posted: Sat Sep 02, 2017 1:44 pm
by KDJ
tatagi

Try a simple regular expression, eg:
TabNameFind=(.{8}).{4,}(.{3})
TabNameRep=\1...\2

This will shorten the file names longer than or equal to 15 characters (8+4+3) to:
first 8 characters + 3 dots + last 3 characters.

If your file name is "ThisIsMyVeryLongFileNameForTest.txt", it will be displayed as: "ThisIsMy...txt".