Hello list,
I started to study, how to extend the IDE.
so far I have managed to add a menu to the IDE.
How I can override the default behavior of the editor when I press Ctrl + D to
run my code.
thanks.
This is my code.
unit DuplicateLine;
{$mode objfpc}{$H+}
interface
uses
Classes,Con
Mattias Gaertner schrieb:
On Sat, 28 Jan 2012 16:42:35 +0100
Hans-Peter Diettrich wrote:
Mattias Gaertner schrieb:
Could we add links to local documentation, when installed on a machine?
[...]
I meant: What should be written in docs/index.html?
A link to the local docs directory could be
2012/1/26 Paul Ishenin :
> 26.01.2012 10:13, silvioprog пишет:
>
>> In the last test:
>>
>> function Max(A, B: T): T;
>> begin
>> if A< B then
>> Result := B
>> else
>> Result := A;
>> end;
>>
>> The error is: unit1.pas(30,13) Fatal: Syntax error, ":" expected but "<"
>> found.
>>
>> W
On 28/1/12 9:00, Mattias Gaertner wrote:
Hint:
You don't need the Delphism "set Parent first" under LCL. The above will
create a lot of updates.
procedure TForm1.AddTab(AFileName: String);
var
Sheet: TTabSheet;
Ed: TSynEdit;
begin
Sheet := TTabSheet.Create(pagecontrol1);
Sheet.Captio
On Sat, 28 Jan 2012 20:13:34 +
Howard Page-Clark wrote:
> On 28/1/12 7:50, Bernd wrote:
> > I have a TPageControl on my form and at runtime I
> > want to add a new page with a SynEdit on it.
> >
> > This is what I have so far:
> > ...
> > But it does not work.
>
> Try this:
>
> procedure T
Ludo Brands wrote:
Although setxkbmap assumes that somebody with admin rights has set up
the appropriate files: I'm fairly certain that there's not a standard
one for APL (which is, at best, a minority interest). You can
do a bit
with xmodmap, but things rapidly start getting messy: X has
bee
On 28/1/12 7:50, Bernd wrote:
I have a TPageControl on my form and at runtime I
want to add a new page with a SynEdit on it.
This is what I have so far:
...
But it does not work.
Try this:
procedure TForm1.AddTab(AFileName: String);
var
Sheet: TTabSheet;
Ed: TSynEdit;
begin
Sheet := TT
> What am I missing here?
>
Ed.parent:=Sheet;
Ludo
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
There is documentation about how to add tabs and controls in the
designer but I could not find any explanation of how to do the same
programatically. I have a TPageControl on my form and at runtime I
want to add a new page with a SynEdit on it.
This is what I have so far:
procedure TForm1.AddTab(
>
> Although setxkbmap assumes that somebody with admin rights has set up
> the appropriate files: I'm fairly certain that there's not a standard
> one for APL (which is, at best, a minority interest). You can
> do a bit
> with xmodmap, but things rapidly start getting messy: X has
> been rat
Ludo Brands wrote:
Thanks Ludo. I'm already doing a bit of custom stuff to get
A+ running
(arguably the largest free APL that still uses the original
characters).
But the question remains: once inside a Lazarus app, can I
hook keycodes
using a custom procedure, translate them to Unicode, and
>
> Thanks Ludo. I'm already doing a bit of custom stuff to get
> A+ running
> (arguably the largest free APL that still uses the original
> characters).
> But the question remains: once inside a Lazarus app, can I
> hook keycodes
> using a custom procedure, translate them to Unicode, and in
Sven Barth wrote:
On 28.01.2012 18:38, Mark Morgan Lloyd wrote:
Ludo Brands wrote:
I'll start digging in and see where I get to, but any suggestions-
particularly relating to Linux- will be welcome.
Under X11 you can modify your keyboard to your likings. 4 levels per
key are
standard using S
On 28.01.2012 18:38, Mark Morgan Lloyd wrote:
Ludo Brands wrote:
I'll start digging in and see where I get to, but any suggestions-
particularly relating to Linux- will be welcome.
Under X11 you can modify your keyboard to your likings. 4 levels per
key are
standard using Shift and 3 lvl key
Ludo Brands wrote:
I'll start digging in and see where I get to, but any suggestions-
particularly relating to Linux- will be welcome.
Under X11 you can modify your keyboard to your likings. 4 levels per key are
standard using Shift and 3 lvl key (Altgr on most non-Eglish kbd but
configurable
>
> I'll start digging in and see where I get to, but any suggestions-
> particularly relating to Linux- will be welcome.
>
Under X11 you can modify your keyboard to your likings. 4 levels per key are
standard using Shift and 3 lvl key (Altgr on most non-Eglish kbd but
configurable to any key).
On 28/01/2012 16:45, Mark Morgan Lloyd wrote:
Hans-Peter Diettrich wrote:
Mark Morgan Lloyd schrieb:
Over the last few weeks I've hacked together a partial APL
implementation, for use as a way of specifying lists of numbers etc.
when passing commands between computers implementing a large
dis
Hans-Peter Diettrich wrote:
Mark Morgan Lloyd schrieb:
Over the last few weeks I've hacked together a partial APL
implementation, for use as a way of specifying lists of numbers etc.
when passing commands between computers implementing a large
distributed system. For test purposes I've compile
On Sat, 28 Jan 2012 16:42:35 +0100
Hans-Peter Diettrich wrote:
> Mattias Gaertner schrieb:
>
> Could we add links to local documentation, when installed on a machine?
> [...]
> > I meant: What should be written in docs/index.html?
>
> A link to the local docs directory could be added.
>
>
Mattias Gaertner schrieb:
Could we add links to local documentation, when installed on a machine?
[...]
I meant: What should be written in docs/index.html?
A link to the local docs directory could be added.
HTML files are read/write , and a unique marker in it allows to
insert the link wit
Mark Morgan Lloyd schrieb:
Over the last few weeks I've hacked together a partial APL
implementation, for use as a way of specifying lists of numbers etc.
when passing commands between computers implementing a large distributed
system. For test purposes I've compiled it on Linux as a command-li
Over the last few weeks I've hacked together a partial APL
implementation, for use as a way of specifying lists of numbers etc.
when passing commands between computers implementing a large distributed
system. For test purposes I've compiled it on Linux as a command-line
app and am using FPC's k
On Sat, 28 Jan 2012 13:04:04 +0100
Hans-Peter Diettrich wrote:
> Mattias Gaertner schrieb:
> > On Sat, 28 Jan 2012 09:24:01 +0100
> > Hans-Peter Diettrich wrote:
> >
> >> [...]
> >> Could we add links to local documentation, when installed on a machine?
> >
> > For example?
>
> For when the u
On Sat, 28 Jan 2012 11:40:25 +0100
Marco van de Voort wrote:
> On Fri, Jan 27, 2012 at 12:25:52PM +0100, Mattias Gaertner wrote:
> >
> > > So I go to http://lazarus.freepascal.org/. There's no online
> > > documentation.
> >
> > It's called "Wiki".
>
> Where do I select the version? So that
Mattias Gaertner schrieb:
On Sat, 28 Jan 2012 09:24:01 +0100
Hans-Peter Diettrich wrote:
[...]
Could we add links to local documentation, when installed on a machine?
For example?
For when the user is e.g. offline, or has locally modified/updated the
documentation.
I understand that CHM
Mattias Gaertner schrieb:
Finally if the global fpdoc path is set, an unitname.xml is searched
there.
What's the "global fpdoc path"?
I meant the IDE options.
You mean the explicitly given fpdoc editor paths?
[...]
ToDo: implement something to use the docs of a newer Lazarus Version
and
On Fri, Jan 27, 2012 at 12:25:52PM +0100, Mattias Gaertner wrote:
>
> > So I go to http://lazarus.freepascal.org/. There's no online
> > documentation.
>
> It's called "Wiki".
Where do I select the version? So that I get the right help for my (slightly
outdated) version?
--
_
On Sat, 28 Jan 2012 09:24:01 +0100
Hans-Peter Diettrich wrote:
>[...]
> Could we add links to local documentation, when installed on a machine?
For example?
Mattias
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus
On Sat, 28 Jan 2012 09:18:29 +0100
Hans-Peter Diettrich wrote:
> Mattias Gaertner schrieb:
>
> >> Or the other way round: what makes the FPDoc Editor look into the right
> >> directory, when no explicit path is given?
> >
> > The search works as following:
> > First it searches for the declara
Mattias Gaertner schrieb:
On Fri, 27 Jan 2012 22:14:18 +0100
Hans-Peter Diettrich wrote:
Mattias Gaertner schrieb:
I added a note about offline help with chmhelp and docview.
Where?
The default help page of the IDE.
It is shown for example when you click on Help / Online Help.
It simply sh
Mattias Gaertner schrieb:
Or the other way round: what makes the FPDoc Editor look into the right
directory, when no explicit path is given?
The search works as following:
First it searches for the declaration of the identifier.
Then it searches for the owner of the unit (e.g. a package)
If th
31 matches
Mail list logo