Page 70 of 99

Posted: Thu Mar 19, 2015 1:53 pm
by DV
Выглядит как-то странно, не?
Image

Posted: Wed Mar 25, 2015 6:40 pm
by Cuprum
Всплывающее окошко с аббревиатурами почему-то не обрабатывает вариант, заканчивающийся на "+".
Набираем какое-то сокращение

Буквы от балды, просто пример
. В итоге, если других более длинных сокращений с таким же начальным сочетанием букв нет, то в окне-подсказке остается единственный вариант - brtqwee, остается нажать "Enter". Но вот если набрать qwerr+ целиком, окно-подсказка c вариантом qwerr+ не возникает, хотя такое сокращение есть в .coder-файле.

Posted: Wed Mar 25, 2015 7:23 pm
by opk44
Cuprum
Возможно "+" присутствует в секции "Delimiters:"

Posted: Wed Mar 25, 2015 7:49 pm
by Cuprum
opk44
Есть такое. Тут правда, двоякое поведение. Когда есть множество вариантов, сокращение с "+" на конце можно спокойно

Image[/img]

Но вот единственный вариант с + не показывается...

Posted: Thu Mar 26, 2015 4:58 am
by Instructor
DV wrote:Выглядит как-то странно, не?
Всё зависит от настроек.
Тема подсветки Bespin,

Image

Cuprum wrote:Но вот единственный вариант с + не показывается...
Потому что захватывается текст из окна редактирования до первого разделителя слева. Т.е. если "+" в разделителях, то " brt| " захватится "brt", " brt+| " захватится "".

Posted: Thu Mar 26, 2015 5:58 am
by Instructor
Изменено: горячие клавиши Coder::CodeFold
- Ctrl+Alt+= -> Ctrl+Shift+=
- Ctrl+Alt+[ -> Ctrl+Shift+[
- Ctrl+Alt+] -> Ctrl+Shift+]
Добавлено: возможность изменять лимит выделения для "Автоматически отмечать выделенное".
Добавлено: иконка для меню "Отметить".

Changed: Coder::CodeFold hotkeys
- Ctrl+Alt+= -> Ctrl+Shift+=
- Ctrl+Alt+[ -> Ctrl+Shift+[
- Ctrl+Alt+] -> Ctrl+Shift+]
Added: possibility to change selection limit for "Automatic selection marking".
Added: icon for mark menu.


Coder plugin v14.8

Posted: Thu Mar 26, 2015 2:47 pm
by DV
Instructor wrote:Тема подсветки Bespin,

Image
А как добиться такой раскраски?
И возможно ли, чтобы так происходило для любой цветовой темы - Bespin, Solarized и других? Здесь смысл "так происходило" в том, чтобы при отключении Coder::HighLight сохранялся цвет фона и основной цвет текста выбранной цветовой темы, как на скриншоте.

Posted: Sat Mar 28, 2015 7:20 am
by Akuro
If anyone speaks English:
I cannot enter a backslash \ when code folding is ON. To enter a backslash I have to first disable code folding, then I can do it.

Maybe a keyboard issue? To get the backslash I have to press AltGr on my German keyboard. Any help is highly welcome.

Posted: Sat Mar 28, 2015 7:51 am
by Lenchik
Need more info (as always ;-)):
Akelpad version,
Coder plugin version,
which filetype editing demonstrates such issue,
what coder coloring scheme is turned on...
Did you try turning off all plugins? Worked then?
Did you try turning on only Coder::Codefold and nothing more? Worked then?
Maybe more questions later.

Posted: Sat Mar 28, 2015 8:50 am
by Instructor
DV wrote:А как добиться такой раскраски?
Можно так:

Code: Select all

var hMainWnd=AkelPad.GetMainWnd();
var lpFrameInfo;
var lpColors;

if (AkelPad.IsPluginRunning("Coder::HighLight"))
{
  if (lpFrameInfo=AkelPad.MemAlloc(_X64?16:8 /*sizeof(FRAMEINFO)*/))
  {
    if (lpColors=AkelPad.MemAlloc(_X64?68:68 /*sizeof(AECOLORS)*/))
    {
      //Save colors
      AkelPad.MemCopy(_PtrAdd(lpFrameInfo, 0) /*offsetof(FRAMEINFO, nType)*/, 137 /*FI_COLORS*/, 3 /*DT_DWORD*/);
      AkelPad.MemCopy(_PtrAdd(lpFrameInfo, _X64?8:4) /*offsetof(FRAMEINFO, dwData)*/, lpColors, 2 /*DT_QWORD*/);
      AkelPad.SendMessage(hMainWnd, 1223 /*AKD_GETFRAMEINFO*/, lpFrameInfo, 0);

      AkelPad.Call("Coder::HighLight");

      //Restore colors
      AkelPad.SetFrameInfo(0, 72 /*FIS_COLORS*/, lpColors);
      AkelPad.MemFree(lpColors);
    }
    AkelPad.MemFree(lpFrameInfo);
  }
}
else AkelPad.Call("Coder::HighLight");


Akuro
http://akelpad.sourceforge.net/forum/vi ... php?t=1806

Posted: Sat Mar 28, 2015 9:02 am
by Instructor
Изменено: иконки не растягивается, если масштаб экрана отличен от 96 dpi (Coder::AutoComplete).

Changed: no icons sizing if screen scale other than 96 dpi (Coder::AutoComplete).


Coder plugin v14.9

Posted: Sat Mar 28, 2015 9:38 am
by Akuro
Thank you Lenchik. I really appreciate it.

Akelpad version = 4.9.3 (x86) running portable with ini file
Coder plugin version = 14.9
which filetype editing demonstrates such issue = all, including txt
what coder coloring scheme is turned on... = does not matter, tried them all
Did you try turning off all plugins? Worked then? = Yes
Did you try turning on only Coder::Codefold and nothing more? Worked then? NO. Everything OFF on the Alt+P Plugins Dialog except Coder::Codefold

When I do the reverse, everything ON except for Codefold, then it works. I noticed that the shortcut Alt+\ (backslash) does not work either.

Don't know if you're familiar with the German keyboard layout, the right Alt -key (right side of Space) is called AltGr. It is used to get 3rd characters on other keys, such as various brackets, the pipe | symbol etc. All of these work as usual, it's only the backslash I cannot get. Until I turn off Codefold, then it works.

Posted: Sat Mar 28, 2015 10:04 am
by Lenchik
Akuro
Instructor, the developer of Akelpad, already gave you link to the similar problem and solution. Try to solve your issue with that solution.

Posted: Sat Mar 28, 2015 10:33 am
by Akuro
Thank you. Between those Russian letters I missed the link intended for me.

Followed the advice and it works now. GREAT.

Posted: Sat Mar 28, 2015 11:58 am
by Skif_off
Instructor
HighLightCopyColors.js нужно добавлять в CmdLineBegin?

P.S. У меня в своей теме CodeFold_ListBkColor равен цвету фона из настроек цвета самого AkelPad: очень долго доходило, почему с моей темой выглядит как на скрине, а с другими - нет :))