| View previous topic :: View next topic |
| Author |
Message |
Instructor Site Admin
Joined: 06 Jul 2006 Posts: 4649
|
Posted: Wed Oct 25, 2006 12:42 pm Post subject: XBrackets plugin |
|
|
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 |
|
 |
Yuyu
Joined: 07 Jan 2007 Posts: 5 Location: China
|
Posted: Wed Jan 10, 2007 7:00 am Post subject: |
|
|
how about adding the function of highlighting the matched (the other)bracket ?
i think this is more practical.  |
|
| Back to top |
|
 |
DV
Joined: 16 Nov 2006 Posts: 726 Location: Kyiv, Ukraine
|
Posted: Thu Jan 11, 2007 11:35 am Post subject: |
|
|
| Yuyu wrote: | | how about adding the function of highlighting the matched (the other)bracket |
В смысле, подсвечивать открывающую и закрывающую скобку, если курсор находится слева или справа от одной из скобок? То есть:
|[пример текста] и [пример текста|]
Или подсвечивать скобки при любой позиции курсора между этими скобками? То есть:
[пример| текста]
| - это кусор  |
|
| Back to top |
|
 |
Yuyu
Joined: 07 Jan 2007 Posts: 5 Location: China
|
Posted: Thu Jan 11, 2007 12:33 pm Post subject: |
|
|
sorry that i have no idea about Russian....
 |
|
| Back to top |
|
 |
DV
Joined: 16 Nov 2006 Posts: 726 Location: Kyiv, Ukraine
|
Posted: Thu Jan 11, 2007 12:54 pm Post subject: |
|
|
| 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  |
|
| Back to top |
|
 |
SpellCaster
Joined: 28 Nov 2006 Posts: 30
|
Posted: Thu Jan 11, 2007 2:39 pm Post subject: |
|
|
| Suppose the 1st variant is much more simple to realize =) |
|
| Back to top |
|
 |
Yuyu
Joined: 07 Jan 2007 Posts: 5 Location: China
|
Posted: Thu Jan 11, 2007 3:20 pm Post subject: |
|
|
| 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  |
the first option.  |
|
| Back to top |
|
 |
DV
Joined: 16 Nov 2006 Posts: 726 Location: Kyiv, Ukraine
|
Posted: Fri Jan 12, 2007 7:54 am Post subject: |
|
|
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 |
|
 |
Yuyu
Joined: 07 Jan 2007 Posts: 5 Location: China
|
Posted: Sat Jan 13, 2007 3:07 am Post subject: |
|
|
I'm a layman about programming.
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 |
|
 |
DV
Joined: 16 Nov 2006 Posts: 726 Location: Kyiv, Ukraine
|
Posted: Wed Jan 17, 2007 10:04 am Post subject: |
|
|
| 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 |
|
 |
DV
Joined: 16 Nov 2006 Posts: 726 Location: Kyiv, Ukraine
|
Posted: Wed Jan 31, 2007 1:31 pm Post subject: |
|
|
I'm back 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 |
|
 |
DV
Joined: 16 Nov 2006 Posts: 726 Location: Kyiv, Ukraine
|
Posted: Fri Feb 09, 2007 8:45 am Post subject: |
|
|
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.
И то же самое па-а-руссски Новая версия плагина уже существует, но она слегка глюкавая. Плагин будет выпущен после устранения всех ошибок. |
|
| Back to top |
|
 |
DV
Joined: 16 Nov 2006 Posts: 726 Location: Kyiv, Ukraine
|
Posted: Sat Feb 17, 2007 8:36 pm Post subject: |
|
|
Официально заявляю, что окончательная версия плагина AkelBrackets 1.1 доступна для скачивания Для закачки воспользуйтесь ссылкой вверху.
The official release of AkelBrackets ver. 1.1 is already here. Use the download link above. |
|
| Back to top |
|
 |
DV
Joined: 16 Nov 2006 Posts: 726 Location: Kyiv, Ukraine
|
Posted: Mon Feb 26, 2007 9:42 am Post subject: |
|
|
| DV wrote: | Официально заявляю, что окончательная версия плагина AkelBrackets 1.1 доступна для скачивания Для закачки воспользуйтесь ссылкой вверху.
The official release of AkelBrackets ver. 1.1 is already here. Use the download link above. |
От блин, дата сообщения не обновилась  |
|
| Back to top |
|
 |
NakaRB
Joined: 09 Mar 2007 Posts: 6
|
Posted: Sat Mar 10, 2007 7:45 pm Post subject: |
|
|
| плагин не обрабатывает множественные вложенные скобки одного типа, например, (()). с чередующимися скобками - все ок. |
|
| Back to top |
|
 |
|