XBrackets plugin
- Author
- Message
-
Offline
- Site Admin
- Posts: 6311
- Joined: Thu Jul 06, 2006 7:20 am
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>>
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.
-
Offline
- Posts: 1250
- Joined: Thu Nov 16, 2006 11:53 am
- Location: Kyiv, Ukraine
В смысле, подсвечивать открывающую и закрывающую скобку, если курсор находится слева или справа от одной из скобок? То есть:Yuyu wrote:how about adding the function of highlighting the matched (the other)bracket
|[пример текста] и [пример текста|]
Или подсвечивать скобки при любой позиции курсора между этими скобками? То есть:
[пример| текста]
| - это кусор
-
Offline
- Posts: 1250
- Joined: Thu Nov 16, 2006 11:53 am
- Location: Kyiv, Ukraine
Not a problem.Yuyu wrote:sorry that i have no idea about Russian....
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
-
Offline
- Posts: 5
- Joined: Sun Jan 07, 2007 5:44 am
- Location: China
the first option.DV wrote:Not a problem.Yuyu wrote:sorry that i have no idea about Russian....
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
-
Offline
- Posts: 1250
- Joined: Thu Nov 16, 2006 11:53 am
- Location: Kyiv, Ukraine
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?
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?
-
Offline
- Posts: 1250
- Joined: Thu Nov 16, 2006 11:53 am
- Location: Kyiv, Ukraine
-
Offline
- Posts: 1250
- Joined: Thu Nov 16, 2006 11:53 am
- Location: Kyiv, Ukraine
-
Offline
- Posts: 1250
- Joined: Thu Nov 16, 2006 11:53 am
- Location: Kyiv, Ukraine
-
Offline
- Posts: 1250
- Joined: Thu Nov 16, 2006 11:53 am
- Location: Kyiv, Ukraine