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 

XBrackets plugin
Goto page 1, 2, 3 ... 19, 20, 21  Next
 
Post new topic   Reply to topic    AkelPad Forum Index -> Plugins
View previous topic :: View next topic  
Author Message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5423

PostPosted: Wed Oct 25, 2006 12:42 pm    Post subject: XBrackets plugin Reply with quote

AkelBrackets plugin for AkelPad 3.1.2 (and above)

This plugin allows to autocomplete brackets ([{""}])
i.e. it inserts corresponding right bracket when
the left bracket is typed.
The plugin uses "smart" autocompletion:
- next character is analysed for ([{ brackets
- next & previous characters are analysed for " quote

(C) 2006, Vitaliy Dovgan
dvv81 <at> ukr <dot> net


<<Download>>


Last edited by Instructor on Mon Apr 21, 2008 1:46 pm; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail
Yuyu



Joined: 07 Jan 2007
Posts: 5
Location: China

PostPosted: Wed Jan 10, 2007 7:00 am    Post subject: Reply with quote

how about adding the function of highlighting the matched (the other)bracket ?
i think this is more practical. Wink
Back to top
View user's profile Send private message
DV



Joined: 16 Nov 2006
Posts: 852
Location: Kyiv, Ukraine

PostPosted: Thu Jan 11, 2007 11:35 am    Post subject: Reply with quote

Yuyu wrote:
how about adding the function of highlighting the matched (the other)bracket

В смысле, подсвечивать открывающую и закрывающую скобку, если курсор находится слева или справа от одной из скобок? То есть:
|[пример текста] и [пример текста|]
Или подсвечивать скобки при любой позиции курсора между этими скобками? То есть:
[пример| текста]
| - это кусор Wink
Back to top
View user's profile Send private message
Yuyu



Joined: 07 Jan 2007
Posts: 5
Location: China

PostPosted: Thu Jan 11, 2007 12:33 pm    Post subject: Reply with quote

Shocked
sorry that i have no idea about Russian....
Crying or Very sad
Back to top
View user's profile Send private message
DV



Joined: 16 Nov 2006
Posts: 852
Location: Kyiv, Ukraine

PostPosted: Thu Jan 11, 2007 12:54 pm    Post subject: Reply with quote

Yuyu wrote:
sorry that i have no idea about Russian....

Not a problem.
I asked: do you want to highlight brackets when the cursor is near to one of the brackets, e.g.
|[some text] and [some text|]
or the brackets must be highlighted when a cursor is at any position between them, e.g.
[some| text]
| - it is a cursor Smile
Back to top
View user's profile Send private message
SpellCaster



Joined: 28 Nov 2006
Posts: 30

PostPosted: Thu Jan 11, 2007 2:39 pm    Post subject: Reply with quote

Suppose the 1st variant is much more simple to realize =)
Back to top
View user's profile Send private message
Yuyu



Joined: 07 Jan 2007
Posts: 5
Location: China

PostPosted: Thu Jan 11, 2007 3:20 pm    Post subject: Reply with quote

DV wrote:
Yuyu wrote:
sorry that i have no idea about Russian....

Not a problem.
I asked: do you want to highlight brackets when the cursor is near to one of the brackets, e.g.
|[some text] and [some text|]
or the brackets must be highlighted when a cursor is at any position between them, e.g.
[some| text]
| - it is a cursor Smile


the first option. Smile Idea
Back to top
View user's profile Send private message
DV



Joined: 16 Nov 2006
Posts: 852
Location: Kyiv, Ukraine

PostPosted: Fri Jan 12, 2007 7:54 am    Post subject: Reply with quote

OK, I'll try to implement this. As I see, it needs additional settings dialog with checkboxes "Autocomplete brackets" and "Highlight brackets" to turn these options on and off.
Also I'm not sure with Undo/Redo support: brackets highlighting is actually text modifying, isn't it? So, how can I keep previous Undo/Redo buffers without modifying/clearing them while highlighting brackets? Any ideas?
Back to top
View user's profile Send private message
Yuyu



Joined: 07 Jan 2007
Posts: 5
Location: China

PostPosted: Sat Jan 13, 2007 3:07 am    Post subject: Reply with quote

I'm a layman about programming. Sad
But the txt file doesn't have format, right?
so, as I see, highlighting maybe not text modifying. it's just about programming.
my guess..
Back to top
View user's profile Send private message
DV



Joined: 16 Nov 2006
Posts: 852
Location: Kyiv, Ukraine

PostPosted: Wed Jan 17, 2007 10:04 am    Post subject: Reply with quote

I'll try to use the same approach as in the HighLight plugin. But not now, probably, after a week or two.
Back to top
View user's profile Send private message
DV



Joined: 16 Nov 2006
Posts: 852
Location: Kyiv, Ukraine

PostPosted: Wed Jan 31, 2007 1:31 pm    Post subject: Reply with quote

I'm back Smile And I must say that active brackets highlighting is more complicated thing than I expected. Anyway, now it's basically implemented. I think, we'll see the final version on the next week. It will be for AkelPad 3.2.1.
Back to top
View user's profile Send private message
DV



Joined: 16 Nov 2006
Posts: 852
Location: Kyiv, Ukraine

PostPosted: Fri Feb 09, 2007 8:45 am    Post subject: Reply with quote

Just for information: the new version of the plugin already exists, but it's a little buggy. The plugin will be released after all the bugs will be corrected.

И то же самое па-а-руссски Smile Новая версия плагина уже существует, но она слегка глюкавая. Плагин будет выпущен после устранения всех ошибок.
Back to top
View user's profile Send private message
DV



Joined: 16 Nov 2006
Posts: 852
Location: Kyiv, Ukraine

PostPosted: Sat Feb 17, 2007 8:36 pm    Post subject: Reply with quote

Официально заявляю, что окончательная версия плагина AkelBrackets 1.1 доступна для скачивания Smile Для закачки воспользуйтесь ссылкой вверху.
The official release of AkelBrackets ver. 1.1 is already here. Use the download link above.
Back to top
View user's profile Send private message
DV



Joined: 16 Nov 2006
Posts: 852
Location: Kyiv, Ukraine

PostPosted: Mon Feb 26, 2007 9:42 am    Post subject: Reply with quote

DV wrote:
Официально заявляю, что окончательная версия плагина AkelBrackets 1.1 доступна для скачивания Smile Для закачки воспользуйтесь ссылкой вверху.
The official release of AkelBrackets ver. 1.1 is already here. Use the download link above.

От блин, дата сообщения не обновилась Confused
Back to top
View user's profile Send private message
NakaRB



Joined: 09 Mar 2007
Posts: 6

PostPosted: Sat Mar 10, 2007 7:45 pm    Post subject: Reply with quote

плагин не обрабатывает множественные вложенные скобки одного типа, например, (()). с чередующимися скобками - все ок.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AkelPad Forum Index -> Plugins All times are GMT
Goto page 1, 2, 3 ... 19, 20, 21  Next
Page 1 of 21

 
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