View previous topic :: View next topic |
Author |
Message |
MikeHart
Joined: 16 Jul 2006 Posts: 8
|
Posted: Sat Jan 13, 2007 2:49 pm Post subject: 2.26: Invalid wordbreak setting, how to fix this? |
|
|
Hello,
I get an Invalid wordbreak setting exception in 2.26. It happens when a block is collapsed and the mouse cursor hovers over the collapsedhintmark.
How can I fix this? |
|
Back to top |
|
|
econtrol Site Admin
Joined: 09 Jun 2006 Posts: 202
|
Posted: Sat Jan 13, 2007 6:10 pm Post subject: |
|
|
Fixing ecSyntMemo.pas:
Code: | function TSyntHintWindow.CalcHintRect(MaxWidth: Integer;
const AHint: String; AData: ecPointer): TRect;
...
with TCustomSyntaxMemo(Owner) do
begin
PrintOptions := [mpLineHighlight, mpBlockHighlight, mpBackColor];
...
procedure TSyntHintWindow.Paint;
...
with TCustomSyntaxMemo(Owner) do
begin
PrintOptions := [mpLineHighlight, mpBlockHighlight, mpBackColor];
... |
|
|
Back to top |
|
|
MikeHart
Joined: 16 Jul 2006 Posts: 8
|
Posted: Sat Jan 20, 2007 2:51 pm Post subject: |
|
|
Thank you,
that fixed it. |
|
Back to top |
|
|
|