Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 1999-06

Close and Close all is working very slick.

5 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Curtis White
to Cliff Baeseman: Very nice you got the close and close all working that's very nice. I can take a look at…

Thanks. I am looking at the GTK to see how the menu things work. There is another way to add the menus looks very easy, but I need to figure out how to do it in Pascal (the examples are in C++). If I can get it working, it lets me add accelerators and short cut keys to the menu items. That would be nice.

Also, I would like to add a Find and Replace dialog at some point. I use find and replace all the time. So I think that would be pretty helpful. But I will do this after I get the config files and some other more important things working (like compiler options, ability to compile a project, etc).

You can look at the highlighter code if you want. But I can probably find the problem if you want to continue working on the other things you are working on. It is up to you.

Curtis

On 02-Jun-99 Cliff Baeseman wrote 12 lines
Curtis, Very nice you got the close and close all working that's very nice. I can take a look at the highlighter code it is in idesourceutil. Cliff _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Peter Vreman
to Curtis White
you wrote 15 lines
Yes search to replace would be very cool. Scan.pp is a lexical scanner it could be used for such a thing. I would also like to see a function and procedure combobox selector so that when you grab a function or procedure the cursor would jump to that source location. For the moment I am going to work on this Glade Thing. If I can get it even sort of working we can claim the First True RAD IDE on linux. BTW I used your script to compile it also works very well... Ok, go ahead and fix the color source highlighter. Should just have to move the pos back one char pretty simple stuff. I suppose at some point the keword list for the source colorizer should be loaded from a file?.

Just a small hint, the tokens are avaibable in tokens.pas in sorted order. So you can create a index first. See the scanner.pas of the compiler. The compiler uses 2 layers. First the length and then the first char.

Another thing will be nice to have the {$ } highlighted different from comments. Something i really miss in tp7 ide.

Show quoted text 47 lines
Cliff Curtis White wrote: > Thanks. I am looking at the GTK to see how the menu things work. There is > another way to add the menus looks very easy, but I need > to figure out how to do it in Pascal (the examples are in C++). If I can > get it working, it lets me add accelerators and short cut keys to the menu > items. That would be nice. > > Also, I would like to add a Find and Replace dialog at some point. I use > find and replace all the time. So I think that would be pretty helpful. > But I will do this after I get the config files and some other more > important things working (like compiler options, ability to compile a > project, etc). > > You can look at the highlighter code if you want. But I can probably find > the problem if you want to continue working on the other things you are > working on. It is up to you. > > Curtis > > On 02-Jun-99 Cliff Baeseman wrote: > > Curtis, > > > > Very nice you got the close and close all working that's very nice. > > > > I can take a look at the highlighter code it is in idesourceutil. > > > > Cliff > > > > _________________________________________________________________ > > To unsubscribe: mail with > > "unsubscribe" as the Subject > > archives at http://www.miraclec.com/list_archives/lazarus > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Cliff Baeseman
to Curtis White: Thanks. I am looking at the GTK to see how the menu things work. There is another way to…

Yes search to replace would be very cool. Scan.pp is a lexical scanner it could be used for such a thing.

I would also like to see a function and procedure combobox selector so that when you grab a function or procedure the
cursor would jump to that source location.

For the moment I am going to work on this Glade Thing. If I can get it even sort of working we can claim the
First True RAD IDE on linux. BTW I used your script to compile it also works very well...

Ok, go ahead and fix the color source highlighter. Should just have to move the pos back one char pretty simple stuff. I suppose at some point the keword list for the source colorizer should be loaded from a file?.

Cliff

Curtis White wrote 36 lines
Thanks. I am looking at the GTK to see how the menu things work. There is another way to add the menus looks very easy, but I need to figure out how to do it in Pascal (the examples are in C++). If I can get it working, it lets me add accelerators and short cut keys to the menu items. That would be nice. Also, I would like to add a Find and Replace dialog at some point. I use find and replace all the time. So I think that would be pretty helpful. But I will do this after I get the config files and some other more important things working (like compiler options, ability to compile a project, etc). You can look at the highlighter code if you want. But I can probably find the problem if you want to continue working on the other things you are working on. It is up to you. Curtis On 02-Jun-99 Cliff Baeseman wrote: > Curtis, > > Very nice you got the close and close all working that's very nice. > > I can take a look at the highlighter code it is in idesourceutil. > > Cliff > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Cliff Baeseman

Curtis,

Very nice you got the close and close all working that's very nice.

I can take a look at the highlighter code it is in idesourceutil.

Cliff

Reply by email

Baeseman, Cliff

we can do that easy enough we will just check for a comment token with a Following $ token and color that comment block appropriately.

cliff

Earlier message 89 lines
-----Original Message----- From: Peter Vreman Sent: Wednesday, June 02, 1999 10:56 AM To: Subject: Re: [lazarus] Close and Close all is working very slick. At 08:15 2-6-99 , you wrote: >Yes search to replace would be very cool. Scan.pp is a lexical scanner it >could be used for such a thing. > >I would also like to see a function and procedure combobox selector so that >when you grab a function or procedure the >cursor would jump to that source location. > >For the moment I am going to work on this Glade Thing. If I can get it even >sort of working we can claim the >First True RAD IDE on linux. BTW I used your script to compile it also >works very well... > >Ok, go ahead and fix the color source highlighter. Should just have to move >the pos back one char pretty simple stuff. I suppose at some point the keword >list for the source colorizer should be loaded from a file?. Just a small hint, the tokens are avaibable in tokens.pas in sorted order. So you can create a index first. See the scanner.pas of the compiler. The compiler uses 2 layers. First the length and then the first char. Another thing will be nice to have the {$ } highlighted different from comments. Something i really miss in tp7 ide. >Cliff > > > >Curtis White wrote: > > > Thanks. I am looking at the GTK to see how the menu things work. There is > > another way to add the menus looks very easy, but I need > > to figure out how to do it in Pascal (the examples are in C++). If I can > > get it working, it lets me add accelerators and short cut keys to the menu > > items. That would be nice. > > > > Also, I would like to add a Find and Replace dialog at some point. I use > > find and replace all the time. So I think that would be pretty helpful. > > But I will do this after I get the config files and some other more > > important things working (like compiler options, ability to compile a > > project, etc). > > > > You can look at the highlighter code if you want. But I can probably find > > the problem if you want to continue working on the other things you are > > working on. It is up to you. > > > > Curtis > > > > On 02-Jun-99 Cliff Baeseman wrote: > > > Curtis, > > > > > > Very nice you got the close and close all working that's very nice. > > > > > > I can take a look at the highlighter code it is in idesourceutil. > > > > > > Cliff > > > > > > _________________________________________________________________ > > > To unsubscribe: mail with > > > "unsubscribe" as the Subject > > > archives at http://www.miraclec.com/list_archives/lazarus > > > > _________________________________________________________________ > > To unsubscribe: mail with > > "unsubscribe" as the Subject > > archives at http://www.miraclec.com/list_archives/lazarus > >_________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email