Flávio Etrusco schrieb:
Calling BeginUpdate is not enough, they must disable/unset the
highlighter to avoid the double parse.
I found it sufficient when the highlighter only parses the current
line(s) while painting the text. When the highlighter information is
reduced to a flag, indicating
Hans-Peter Diettrich wrote:
Flávio Etrusco schrieb:
Calling BeginUpdate is not enough, they must disable/unset the
highlighter to avoid the double parse.
I found it sufficient when the highlighter only parses the current
line(s) while painting the text. When the highlighter
Flávio Etrusco wrote:
*If* BeginUpdate works, then the content of my original mail should be
applicable
To avoid any misunderstanding:
*If* / *Once* BeginUpdate works, then you can insert a batch of say 100
lines (with Lines.Add or Lines.Insert). It will scan 101 lines (because
yes, 1 line
Do you refer to paste, as done by SynEdit internally (not by externally
calling lines.Insert) ?
Because the current paste (if you press ctrl-v in the IDE, having 10
lines in the Clipboard) isn't affected by this bug. (I looked at it in
the debugger)
It is affected by 2 other things:
1) A
Sorry, I meant when you paste _at EOL_.
Dang, I meant _EOF_.
I should have made it clear before that the problem as I see
only/always involves the last line/EOF.
Best regards,
Flávio
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
Curious as to how others handle the line endings when sharing code between
delphi and lazarus/fpc? FPC has LineEnding and I think Delphi has something
similar it inherited from the Kylix era, but I don't think it was called the
same.
I was thinking of just creating my ifdef'd type.
Thanks,
In my projects I usually have a file with only general constants,
which is added by all others. In this file I add the following
declaration:
{$IFNDEF FPC}
const
LineEnding = #10#13;
{#endif}
The Virtual Magnifying Glass is a medium sized project which is
compilable with Lazarus and Delphi. It
Hans-Peter Diettrich schrieb:
I found it sufficient when the highlighter only parses the current
line(s) while painting the text.
By the original design the highlighter parses only more than one line if
the Range
is changed by typing.
There is no logical reason to change this behavior, folding
Edwin Quijada wrote:
HiQ
I am newbie with this
I installed zeos everything fine but when I try to connect with Postgres
database I get this errro
Ordinal Not found
180 not found SSLeay
What zeos version and what postgres version ?
Marc
___
Martin Waldenburg wrote:
Hans-Peter Diettrich schrieb:
I found it sufficient when the highlighter only parses the current
line(s) while painting the text.
By the original design the highlighter parses only more than one line if
the Range
is changed by typing.
There is no logical
Martin Friebe schrieb:
Some of the highlighting (actually folding) added (by me) needed more
complexity.
I doubt, that more complexity is needed.
The cost on normal operation can be ignored.
A highlighter should be lightning fast even on an underpowered netbook,
as it was designed to work
Martin Waldenburg wrote:
Martin Friebe schrieb:
Some of the highlighting (actually folding) added (by me) needed more
complexity.
I doubt, that more complexity is needed.
Actually you are right. The problem lies in the folding module.
But anyway, even on a low power computer,
Felipe Monteiro de Carvalho wrote:
In my projects I usually have a file with only general constants,
which is added by all others. In this file I add the following
declaration:
{$IFNDEF FPC}
const
LineEnding = #10#13;
{#endif}
In Delphi this constant is called sLineBreak. For
Martin Friebe schrieb:
It is still way faster than a person can ever
type.
if one does things more complicated as needed one will also
likely introduce more bugs.
A few minutes more thinking often saves hours of work,
in my experience.
Martin
___
Title: Re: [Lazarus] Help with a error - Failed to initialize component: No streaming method available.
, German.
What kind of components you place on DataModule?
Maybe some code ofTServerDataModule.OnCreate do it?
4 2009 ., 20:55:07:
Hi, please anybody can tell me some way to
Martin Waldenburg wrote:
Martin Friebe schrieb:
It is still way faster than a person can ever
type.
if one does things more complicated as needed one will also
likely introduce more bugs.
A few minutes more thinking often saves hours of work,
in my experience.
Martin
You
Martin Friebe wrote:
Martin Waldenburg wrote:
Martin Friebe schrieb:
It is still way faster than a person can ever type.
if one does things more complicated as needed one will also
likely introduce more bugs.
A few minutes more thinking often saves hours of work,
in my experience.
Martin Friebe schrieb:
Martin Friebe wrote:
Martin Waldenburg wrote:
Martin Friebe schrieb:
It is still way faster than a person can ever type.
if one does things more complicated as needed one will also
likely introduce more bugs.
A few minutes more
18 matches
Mail list logo