[cross-posted to lazarus list => please join there to continue the topic]
I am trying to figure out how they work
- Block is kept, if cursor moves away. (obvious)
- Shift Cursur keys:
- Block is extended if cursor was next to block
- New block is started , if cursor was away from block.
We are still on the wrong mailing list. Should be
laza...@lists.lazarus.freepascal.org
Anyway, if it's about SynEdit, feel free to ask where to start looking,
I am glad to give some pointers. (But please make sure you are on SVN
0.9.27, since it is completely different)
From What I understan
If you use Lazarus (or at least the LCL) it has a unit Clipbrd
and you can do
Clipboard.AsText:= FText;
Martin
Torsten Bonde Christiansen wrote:
Graeme Geldenhuys wrote:
Torsten Bonde Christiansen wrote:
Does anyone know of a page that has a short introduction/tutorial,
preferably somet
First of all, Lazarus has it's own mailing list, where you will be more
likely to receive answers...
Jürgen Hestermann wrote:
A question:
Do persistent blocks exist the Lazarus editor?
Not at current.
If it does not exist, is it planned to add?
Maybe some day. There is no concrete plan that
Jonas Maebe wrote:
On 02 Jul 2009, at 16:58, Martin Friebe wrote:
Leaves question 2: Is there a way to switch it off, to avoid the cost
of creating an exception frame? (if you are either sure your
constructor does not throw an exception, or for some reason do not
care)?
http
Michael Van Canneyt wrote:
On Thu, 2 Jul 2009, Martin Friebe wrote:
Inoussa OUEDRAOGO wrote:
Indeed, when an exception is raised in the constructor, be it an
"assert" exception or not, the destructor is called to allow the
developer to clean up the "in-construction" insta
Inoussa OUEDRAOGO wrote:
2009/6/29 Tom Verhoeff :
While tracing a nasty bug (?), I discovered the hard way that when
an Assert is done in a constructor, and it fails, then the destructor
(Destroy) is automatically called.
Indeed, when an exception is raised in the constructor, be it an
Jürgen Hestermann wrote:
> Paul Nicholls schrieb:
I also find writable constants hand for things like this where I can
define the 'variable' + values too so I don't have to set the values
at run time:
But can't you do the same with a variable declaration? If you want to
change the value at
Graeme Geldenhuys wrote:
Martin Friebe wrote:
And if I understand the changes where mad, because this "feature" was
broken before:
To quote myself, even though I know one shouldn't. ;-)
"I know they were introduced for the better."
I was not arguing the
Graeme Geldenhuys wrote:
FPC often implements something that breaks existing code.
Examples :)?
Please note that I am not saying I disagree with the changes. I know
they were introduced for the better. What I am saying, is that changes
do get introduced into FPC (for whatever reas
Torsten Bonde Christiansen wrote:
Martin Friebe wrote:
If any member (object variable) is of a ref-counted type (that is
strings and dynamic arrays), then any "memory copy" will mess up.
Because in the objects memory, there only are the pointers to the
data of strings, and dyn-
Torsten Bonde Christiansen wrote:
Hi.
I was wondering if it is posible to make this type of construct for
creating a generic Clone method:
(I put it in pastebin): http://pastebin.com/fb495ed7
Explained in words - I'm trying to make a clone method that should be
able to copy the content of
fpcl...@silvermono.co.za wrote:
On Sunday 07 June 2009 22:19:47 Jonas Maebe wrote:
On 07 Jun 2009, at 10:35, fpcl...@silvermono.co.za wrote:
A high level, a class is like a record that has been modified to
include
functions and procedures. I know that I'm over simplifying thing
here, pl
Arí Ricardo Ody wrote:
Suppose the following structure:
01 a-1.
03 b-1 pic xxx.
03 b-2 pic 999.
03 b-3.
05 c-1 pic aaa.
05 c-2.
07 d-1 pic zzz.
07 d-2 pic xxx.
05 c-3 pic 99.
03 b-4 pic zzz.
03 b-5.
05 e-1 pic zzz.
All line not containing
Andreas Berger wrote:
This isn't really a FPC question, but since the application is being
written in FPC I thought I would ask here.
I am developing an application that controls machinery. The
application will store everything that happens in a SQL database. Some
clients (restricted) should
Andreas Berger wrote:
This isn't really a FPC question, but since the application is being
written in FPC I thought I would ask here.
I am developing an application that controls machinery. The
application will store everything that happens in a SQL database. Some
clients (restricted) should
Graeme Geldenhuys wrote:
On Wed, Jan 14, 2009 at 3:25 PM, Martin Friebe wrote:
Is this supposed to be like this? How else can I inside Create check if the
component is loaded from a stream?
Could you not use the AfterConstruction() method? Or is that still to
early (before
Michael Van Canneyt wrote:
On Wed, 14 Jan 2009, Martin Friebe wrote:
Hi,
If a component is loaded from a stream, then csLoading is set in
ComponentState (or so I thought I understood the concept)
So in my component i do "if not(csLoading in componentState)" ...
However I found
Hi,
If a component is loaded from a stream, then csLoading is set in
ComponentState (or so I thought I understood the concept)
So in my component i do "if not(csLoading in componentState)" ...
However I found this does not work in the constructor Create. csLoading
is only set *after* the Co
Joost van der Sluis wrote:
Op maandag 12-01-2009 om 13:30 uur [tijdzone -0500], schreef David B
Copeland:
"Query: Cannot open a non-select statement"
'show tables' is not a valid sql-statement. It is a MySQL-hack. The
TODBCConnection can not see that it is connected to a MySQL server
first then other nested Components)
Any ideas, if this is a bad idea (like in will break soon)?
Thanks Martin
Martin Friebe wrote:
Hi, I have a problem saving a certain component struicture to an LFM
(lazarus) file and read it back.
since a good amount of code is in FPC, I am not sure which li
Hi, I have a problem saving a certain component struicture to an LFM
(lazarus) file and read it back.
since a good amount of code is in FPC, I am not sure which list to go to?
There is classes/writer.inc with has TBinaryObjectWriter. This is where
things go first.
Then, later this gets translate
Vinzent Höfler wrote:
Jürgen Hestermann wrote:
Mantra: First make it work, then make it fast.
In general that's true from the programmer's viewpoint. But this does
not apply to adding language details because there is no 'first make
it work'. Why obscure important implementation details if th
asted it?
I know it's my fault not to read it proper. But i could imagine, that
othere may get into similar trouble...
Thanks Martin
Jonas Maebe wrote:
On 03 Nov 2008, at 16:03, Martin Friebe wrote:
I have a few question, regarding my attempts to install fpc from trunc
Small aside: it
I have a few question, regarding my attempts to install fpc from trunc
(I read the build faq, yet I have not succeeded...)
On a freebsd (7.0) box, I have downloaded and installed the pre-compiled
fpc 2.2.2 ( to use as my initial compiler.)
I have created my workind dir /data/fpc_trunc/svn and do
25 matches
Mail list logo