|
Модераторы: Vitalik |
|
llutti |
|
|||
Новичок Профиль Группа: Участник Сообщений: 3 Регистрация: 21.9.2006 Где: Blumenau, Brazil Репутация: 1 Всего: 1 |
Hi,
When I copy or cut a text at the end of line, every time the #13#10 is copied too. In original synEdit this don't happend. In my tests, the problem it's in GetSelText, I couldn't the exact point. In yours test this exists? |
|||
|
||||
DavidCl0nel |
|
|||
Новичок Профиль Группа: Участник Сообщений: 44 Регистрация: 31.7.2006 Где: Berlin/Germany Репутация: 1 Всего: 1 |
Sorry for the late answer, but i went to holiday and have now not as much time like before for Syn.
Yes you are right, and also right with TCustomSynEdit.GetSelText. Fix is
The big IF-check-line had to replaced, the rest is identical. He shouldnt copy the lines (and only CRLF here) in the collapsed block, if it isnt folded in. |
|||
|
||||
DavidCl0nel |
|
|||
Новичок Профиль Группа: Участник Сообщений: 44 Регистрация: 31.7.2006 Где: Berlin/Germany Репутация: 1 Всего: 1 |
Add the Commands for Collapsing. Then you can call anywhere (i.e. MenuItem) SynMemo.CommandProcessor(ecCollapseCurrent, #0, nil);
Это сообщение отредактировал(а) DavidCl0nel - 7.11.2006, 14:08 |
|||
|
||||
Alienizer |
|
|||
Новичок Профиль Группа: Участник Сообщений: 4 Регистрация: 3.12.2006 Репутация: нет Всего: нет |
Hello,
I just downloaded SynEdit v2.03 but I don't know where I can download the Code Folding for it? Can someone please tell me where I can download Code Folding for SynEdit v2.03? Thank you. |
|||
|
||||
llutti |
|
|||
Новичок Профиль Группа: Участник Сообщений: 3 Регистрация: 21.9.2006 Где: Blumenau, Brazil Репутация: 1 Всего: 1 |
||||
|
||||
Alienizer |
|
|||
Новичок Профиль Группа: Участник Сообщений: 4 Регистрация: 3.12.2006 Репутация: нет Всего: нет |
Thank you Luciano. I appreciate your help.
|
|||
|
||||
Alienizer |
|
|||
Новичок Профиль Группа: Участник Сообщений: 4 Регистрация: 3.12.2006 Репутация: нет Всего: нет |
Maybe I'm very stupid but, I can't get the CodeFolding to work! I set it enabled, a black vert line shows next to the gutter, but that's it. I've set the key assignment for acCollapse etc. still no go. No documentations and no examples on how it works!
Can anyone please help me? Just need a hint, I know how to code so I don't need a whole big example or anything. Thank you. |
|||
|
||||
lookfar |
|
||||||
Новичок Профиль Группа: Участник Сообщений: 6 Регистрация: 1.12.2006 Репутация: нет Всего: нет |
in order to make the "Light" demo from Unihighlighter, in the uses:
In the "LoadFile" procedure
check my post here: http://forum.vingrad.ru/topic-124651/kw-bueler.html |
||||||
|
|||||||
DavidCl0nel |
|
|||
Новичок Профиль Группа: Участник Сообщений: 44 Регистрация: 31.7.2006 Где: Berlin/Germany Репутация: 1 Всего: 1 |
Without the unihighlighter you should use it in such way:
|
|||
|
||||
Alienizer |
|
|||
Новичок Профиль Группа: Участник Сообщений: 4 Регистрация: 3.12.2006 Репутация: нет Всего: нет |
Thank you this worked, but, there is another problem. When lines are folded and editing is performed, un-folding the lines makes the folding lines in the gutter all at the wrong places, and it will no longer fold correctly! Also, if the fold region is not smart because if a string literal contain the same word as the keyword, for example "endif" the folding is no longer correct. Is it better to use HighlighterFoldRegions := True; and modify the Highlighter to make the proper folding regions?
|
|||
|
||||
pyscripter |
|
|||
Новичок Профиль Группа: Участник Сообщений: 2 Регистрация: 14.2.2007 Репутация: нет Всего: нет |
FYI, there is another highly enhanced version of Synedit+Mystix around which unfortunately still contains many of the bugs of the original Mystix code. It is called SynEditStudio and is available from http://www.cnzjw.net/qiutian/blog/index.asp
Unfortunately the demo is in chinese. |
|||
|
||||
pyscripter |
|
|||
Новичок Профиль Группа: Участник Сообщений: 2 Регистрация: 14.2.2007 Репутация: нет Всего: нет |
You can download SynEditStudio v1.5.4 from http://pyscripter.googlepages.com/SynEditStudio.rar
Also I had suggested to the author the following: * merge the bugfixes from SynMix into his code * release a version of his code with English resources * apply his enhancements to the unicode version of Synedit and he said that he will try and do that. |
|||
|
||||
benne08 |
|
|||
Новичок Профиль Группа: Участник Сообщений: 1 Регистрация: 31.3.2009 Репутация: нет Всего: нет |
Hello, I hope its okay to post here, because this thread seems not to be alive, but I don't understand the other, non-english, boards :-/ So I've a question: I'm using the Codefolding from the (I think) latest SynMix and I recognized a large memory-leak - my program allocates more and more memory (100rds of MB after a few time) if I activate the CodeFolding. If I undo this change you see above, everything's fine, but I get some errors... What can I do to fix this leak and to prevent the errors? Thanks for your help and Best Regards! |
|||
|
||||
Rules and hints for the forum "SynUniHighlighter" | |
|
Hello, dear user! This is official forum for SynUniHighlighter component and unofficial forum for SynEdit, Codefolding and all related projects. Some rules for the forum: 1. Do not create new topic if exactly the same already exists. 2. Don't ask several questions in the same topic. One topic - one question. 3. If discussion changes to far from original topic context, then create a separate thread for new discussion subject. If you already registered then click here to log in. If you havent't registered yet then click here and register. You need to type username, password (twice), email (twice) and security code. Next you need go here and choose English language instead of Russian and press Enter. Some hints for enghlish-speaking users: - create new topic; - create new vote; - answer to the topic. |
1 Пользователей читают эту тему (1 Гостей и 0 Скрытых Пользователей) | |
0 Пользователей: | |
« Предыдущая тема | SynUniHighlighter and SynEdit (English Language) | Следующая тема » |
|
По вопросам размещения рекламы пишите на vladimir(sobaka)vingrad.ru
Отказ от ответственности Powered by Invision Power Board(R) 1.3 © 2003 IPS, Inc. |