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 

Bug reports
Goto page Previous  1, 2, 3 ... 10, 11, 12
 
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English)
View previous topic :: View next topic  
Author Message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5293

PostPosted: Tue Jun 11, 2013 5:38 pm    Post subject: Reply with quote

TheDutchJewel wrote:
After updating to v4.8.4 the caret does only appear in new created files, not is saved/reopened ones.
With Coder plugin v11.0 is OK?
Back to top
View user's profile Send private message Send e-mail
TheDutchJewel



Joined: 03 Jan 2011
Posts: 13

PostPosted: Tue Jun 11, 2013 5:47 pm    Post subject: Reply with quote

Instructor wrote:
Coder plugin v11.0 is OK?

Yep, working fine now.

Thanks a lot for the quick fix.
Back to top
View user's profile Send private message Visit poster's website
KDJ



Joined: 06 Mar 2010
Posts: 1324
Location: Poland

PostPosted: Sat Sep 28, 2013 2:45 pm    Post subject: Reply with quote

MIS_STATUSUSERFORMAT message does not always update the status bar.
Example:
MIS_STATUSUSERFORMAT_test.js
Code:
var hMainWnd = AkelPad.GetMainWnd();
var lpText = AkelPad.MemAlloc(512 * _TSIZE);
var sSUF, sSUFNew;

AkelPad.SendMessage(hMainWnd, 1222 /*AKD_GETMAININFO*/, 112 /*MI_STATUSUSERFORMAT*/, lpText);
sSUF = AkelPad.MemRead(lpText, _TSTR);
AkelPad.MemFree(lpText);
WScript.Echo('StatusUserFormat=' + '\n\"' + sSUF + '\"');

sSUFNew = 'Offset: %or (%ob)%[170]%cl%[20]%cd (hex:%cH, %CH)%[150]Chars: %ar%[110]Lines: %al%[100]Font: %f pt%[90]';
AkelPad.SendMessage(hMainWnd, 1219 /*AKD_SETMAININFO*/, 112 /*MIS_STATUSUSERFORMAT*/, sSUFNew);
WScript.Echo('StatusUserFormat=' + '\n\"' + sSUFNew + '\"');

sSUFNew = 'Offset: %or (%ob)%[170]%cl%[20]%cd (hex:%cH, %CH)%[150]';
AkelPad.SendMessage(hMainWnd, 1219 /*AKD_SETMAININFO*/, 112 /*MIS_STATUSUSERFORMAT*/, sSUFNew);
WScript.Echo('StatusUserFormat=' + '\n\"' + sSUFNew + '\"');

sSUFNew = '';
AkelPad.SendMessage(hMainWnd, 1219 /*AKD_SETMAININFO*/, 112 /*MIS_STATUSUSERFORMAT*/, sSUFNew);
WScript.Echo('StatusUserFormat=' + '\n\"' + sSUFNew + '\"');

AkelPad.SendMessage(hMainWnd, 1219 /*AKD_SETMAININFO*/, 112 /*MIS_STATUSUSERFORMAT*/, sSUF);
WScript.Echo('StatusUserFormat=' + '\n\"' + sSUF + '\"');
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5293

PostPosted: Tue Oct 01, 2013 8:55 am    Post subject: Reply with quote

KDJ
Test version
Back to top
View user's profile Send private message Send e-mail
KDJ



Joined: 06 Mar 2010
Posts: 1324
Location: Poland

PostPosted: Tue Oct 01, 2013 5:31 pm    Post subject: Reply with quote

Instructor
Yet there is something wrong.

Check using this script:
MIS_STATUSUSERFORMAT_test2.js
Code:
var hMainWnd = AkelPad.GetMainWnd();
var lpText = AkelPad.MemAlloc(512 * _TSIZE);
var sSUFCur, sSUFNew;

//#1 - is OK
//save current setting
AkelPad.SendMessage(hMainWnd, 1222 /*AKD_GETMAININFO*/, 112 /*MI_STATUSUSERFORMAT*/, lpText);
sSUFCur = AkelPad.MemRead(lpText, _TSTR);
AkelPad.MemFree(lpText);
WScript.Echo('#1\n\nCurrent setting is:\n\nStatusUserFormat=\n"' + sSUFCur + '"');

//#2 - is OK
//reset status bar
sSUFNew = '';
AkelPad.SendMessage(hMainWnd, 1219 /*AKD_SETMAININFO*/, 112 /*MIS_STATUSUSERFORMAT*/, sSUFNew);
WScript.Echo('#2\n\nStatus bar has been reset:\n\nStatusUserFormat=\n"' + sSUFNew + '"');

//#3 - is OK
//set:  Offset  |  Chars  |  Lines  |  Font  |
sSUFNew = 'Offset: %or%[170]Chars: %ar%[110]Lines: %al%[100]Font: %f%[90]';
AkelPad.SendMessage(hMainWnd, 1219 /*AKD_SETMAININFO*/, 112 /*MIS_STATUSUSERFORMAT*/, sSUFNew);
WScript.Echo('#3\n\nHas been set:  Offset  |  Chars  |  Lines  |  Font  |\n\nStatusUserFormat=\n"' + sSUFNew + '"');

//#4 - error - "Font" is visible
//set:  Offset  |  Chars  |  Lines  |
sSUFNew = 'Offset: %or%[170]Chars: %ar%[110]Lines: %al%[100]';
AkelPad.SendMessage(hMainWnd, 1219 /*AKD_SETMAININFO*/, 112 /*MIS_STATUSUSERFORMAT*/, sSUFNew);
WScript.Echo('#4 - error - "Font" is visible\n\nHas been set:  Offset  |  Chars  |  Lines  |\n\nStatusUserFormat=\n"' + sSUFNew + '"');

//#5 - error - "Lines" is visible
//set:  Offset  |  Chars  |
sSUFNew = 'Offset: %or%[170]Chars: %ar%[110]';
AkelPad.SendMessage(hMainWnd, 1219 /*AKD_SETMAININFO*/, 112 /*MIS_STATUSUSERFORMAT*/, sSUFNew);
WScript.Echo('#5error - "Lines" is visible\n\nHas been set:  Offset  |  Chars  |\n\nStatusUserFormat=\n"' + sSUFNew + '"');

//#6 - is OK
//restore initial setting
AkelPad.SendMessage(hMainWnd, 1219 /*AKD_SETMAININFO*/, 112 /*MIS_STATUSUSERFORMAT*/, '');
AkelPad.SendMessage(hMainWnd, 1219 /*AKD_SETMAININFO*/, 112 /*MIS_STATUSUSERFORMAT*/, sSUFCur);
WScript.Echo('#6\n\nRestored initial setting:\n\nStatusUserFormat=\n"' + sSUFCur + '"');


In steps #4 and #5 there is an error.
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5293

PostPosted: Wed Oct 02, 2013 6:27 am    Post subject: Reply with quote

KDJ
Test version
Back to top
View user's profile Send private message Send e-mail
KDJ



Joined: 06 Mar 2010
Posts: 1324
Location: Poland

PostPosted: Wed Oct 02, 2013 9:55 am    Post subject: Reply with quote

Instructor
Thanks very much, now is OK.
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1324
Location: Poland

PostPosted: Thu Jan 02, 2014 11:58 am    Post subject: Reply with quote

AkelPad 4.8.6, LineBoard plugin 10.2.
Amount of recent files is set to 99.
1. If you set 500 bookmarks (LineBoard plugin), when you restart AkelPad and reopen the file, bookmarks are not restored.
2. If you set 900 bookmarks and close the file (or close AkelPad), the propram crashes.

Script to set 900 bookmarks:
Code:
var hEditWnd = AkelPad.GetEditWnd();
var hEditDoc = AkelPad.GetEditDoc();
var sBookmarks = "";
for (var i = 0; i < 900; ++i) sBookmarks += i + ",";
AkelPad.CallW("LineBoard::Main", 14, hEditWnd, hEditDoc); //delete all bookmarks
AkelPad.CallW("LineBoard::Main", 13, hEditWnd, hEditDoc, sBookmarks); //set bookmarks
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5293

PostPosted: Thu Jan 02, 2014 3:13 pm    Post subject: Reply with quote

KDJ
Test version
Back to top
View user's profile Send private message Send e-mail
KDJ



Joined: 06 Mar 2010
Posts: 1324
Location: Poland

PostPosted: Thu Jan 02, 2014 7:54 pm    Post subject: Reply with quote

Instructor
Now is very good, thanks.
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
Goto page Previous  1, 2, 3 ... 10, 11, 12
Page 12 of 12

 
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