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 

How I could set the width of the each tab?

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



Joined: 01 Sep 2017
Posts: 4

PostPosted: Fri Sep 01, 2017 4:50 am    Post subject: How I could set the width of the each tab? Reply with quote

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

Cool
Back to top
View user's profile Send private message
opk44



Joined: 16 Jan 2010
Posts: 615

PostPosted: Fri Sep 01, 2017 8:24 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
tatagi



Joined: 01 Sep 2017
Posts: 4

PostPosted: Fri Sep 01, 2017 11:23 am    Post subject: I cant understand what you say Reply with quote

sorry I am not so tech savvy could you explain in further detail?
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1932
Location: Poland

PostPosted: Fri Sep 01, 2017 6:01 pm    Post subject: Reply with quote

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".
Back to top
View user's profile Send private message
tatagi



Joined: 01 Sep 2017
Posts: 4

PostPosted: Sat Sep 02, 2017 9:01 am    Post subject: I did what you suggested Reply with quote

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 Smile
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1932
Location: Poland

PostPosted: Sat Sep 02, 2017 1:44 pm    Post subject: Reply with quote

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".
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