synedit

Install SynEdit into Delphi 2010 - SynEdit_R2010.bpl is missing

北战南征 提交于 2019-12-25 00:16:12
问题 I am attempting to install SynEdit_D2010 into my Delphi 2010 IDE, and I get an error stating that the program can't start because SynEdit_R2010.bpl is missing from my system. As far as I can tell, SynEdit_R2010.bpl is not missing on my system, and I even have it in my $(BDSCOMMONDIR)\Bpl directory. However, for some reason Delphi doesn't seem to think it is there! Any ideas how i can solve this? 回答1: Are you sure all your directories are correctly defined ? I think the BPL has to be visible

Delphi: simply highlight text in SynEdit

瘦欲@ 提交于 2019-12-22 15:59:22
问题 I have 20 different words. How to highlight rows with those words in different colors in SynEdit? If it is not possible to highlight rows then just to highlight the words. Big Thanks!!!!!! 回答1: To highlight a row you must use the OnSpecialLineColors Event. You can create a function to find the word in the line (check this question Is There An Efficient Whole Word Search Function in Delphi?) and then paint the line Check this code procedure TFrmMain.SynEditCodeSpecialLineColors(Sender: TObject

Delphi: simply highlight text in SynEdit

隐身守侯 提交于 2019-12-22 15:59:07
问题 I have 20 different words. How to highlight rows with those words in different colors in SynEdit? If it is not possible to highlight rows then just to highlight the words. Big Thanks!!!!!! 回答1: To highlight a row you must use the OnSpecialLineColors Event. You can create a function to find the word in the line (check this question Is There An Efficient Whole Word Search Function in Delphi?) and then paint the line Check this code procedure TFrmMain.SynEditCodeSpecialLineColors(Sender: TObject

Delphi: simply highlight text in SynEdit

佐手、 提交于 2019-12-22 15:59:05
问题 I have 20 different words. How to highlight rows with those words in different colors in SynEdit? If it is not possible to highlight rows then just to highlight the words. Big Thanks!!!!!! 回答1: To highlight a row you must use the OnSpecialLineColors Event. You can create a function to find the word in the line (check this question Is There An Efficient Whole Word Search Function in Delphi?) and then paint the line Check this code procedure TFrmMain.SynEditCodeSpecialLineColors(Sender: TObject

How to change color of the scrollbar in SynMemo with VCL styles

时光总嘲笑我的痴心妄想 提交于 2019-12-10 09:25:41
问题 there. I changed style of standard objects with VCl-theme. I use Color, Font and Gutter properties to change style of SynMemo. But I don't know, how change style of ScrollBar of SynEdit( apply vcl-theme ). Who can help me ? 回答1: To add styling support for the TSynEdit you must register a style hook for such control. Try using the TScrollingStyleHook style hook. Like so TStyleManager.Engine.RegisterStyleHook(TCustomSynEdit, TScrollingStyleHook); 来源: https://stackoverflow.com/questions/41728781

How to enable line numbering in SynEdit?

别等时光非礼了梦想. 提交于 2019-12-07 05:31:57
问题 I have recently downloaded SynEdit and I'm wondering how to enable line numbering (like in Lazarus)? I don't found anything at the internet. Thanks in advance. 回答1: Based on code found here try to use the: SynEdit1.Gutter.ShowLineNumbers := True; 来源: https://stackoverflow.com/questions/12123202/how-to-enable-line-numbering-in-synedit

How to change color of the scrollbar in SynMemo with VCL styles

旧巷老猫 提交于 2019-12-05 15:33:40
there. I changed style of standard objects with VCl-theme. I use Color, Font and Gutter properties to change style of SynMemo. But I don't know, how change style of ScrollBar of SynEdit( apply vcl-theme ). Who can help me ? To add styling support for the TSynEdit you must register a style hook for such control. Try using the TScrollingStyleHook style hook. Like so TStyleManager.Engine.RegisterStyleHook(TCustomSynEdit, TScrollingStyleHook); 来源: https://stackoverflow.com/questions/41728781/how-to-change-color-of-the-scrollbar-in-synmemo-with-vcl-styles

What is the latest SynEdit version or clone?

久未见 提交于 2019-12-04 09:33:53
问题 I havent used synEdit for a while, but today I found that I needed a good editor for a form with script support. As I went to download synEdit (which my mind had frozen in time as a "sure thing") I found that the original author had abandoned it. I am aware that FreePascal has a synEdit version - and I hear there is a more recent unicode version out there "somewhere"-- but where exactly can I get the newest and best version? I would prefer unicode support if it's possible, but more

What is the latest SynEdit version or clone?

 ̄綄美尐妖づ 提交于 2019-12-03 03:23:56
I havent used synEdit for a while, but today I found that I needed a good editor for a form with script support. As I went to download synEdit (which my mind had frozen in time as a "sure thing") I found that the original author had abandoned it. I am aware that FreePascal has a synEdit version - and I hear there is a more recent unicode version out there "somewhere"-- but where exactly can I get the newest and best version? I would prefer unicode support if it's possible, but more importantly is support for dynamic styling (being able to add tokens to underline keywords, a bit like Delphi