Sign in Join

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

Mailing lists / lazarus / 2011-09

SynEdit and autocomplete

11 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

silvioprog

Hi,

I try to open the list of options for auto-complete with Ctrl+Space, but does not work, and after using Ctrl+Space need to type the letter twice, eg:

1. Try auto complete the word "select"; (the list does not appear)
2. Type "s" (of 's'elect), nothing happens;
3. Type "s" again, finally the SynEdit get back to edit typing;

Bug?

In attached example to reproduce the error.

Sorry if I have not explained well.

Silvio Cl?cio =============================================== Blog - <silvioprog.com.br> Twitter - <twitter.com/silvioprog> LazSolutions - <code.google.com/p/lazsolutions> LazWebSolutions - <code.google.com/p/lazwebsolutions> Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR> =============================================== ? ?* Conhe?a nosso canal IRC sobre Lazarus: #lazarus-br * =============================================== -------------- next part -------------- A non-text attachment was scrubbed... Name: synedit.zip Type: application/zip Size: 4114 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110916/e2464d69/attachment.zip>

Reply by email

Martin
to silvioprog
silvioprog wrote 16 lines
Hi, I try to open the list of options for auto-complete with Ctrl+Space, but does not work, and after using Ctrl+Space need to type the letter twice, eg: 1. Try auto complete the word "select"; (the list does not appear) 2. Type "s" (of 's'elect), nothing happens; 3. Type "s" again, finally the SynEdit get back to edit typing; Bug? In attached example to reproduce the error. Sorry if I have not explained well.

Syn AutoComplete is not the drop down feature known from the IDE

please have a look in the example folder

Reply by email

silvioprog
to Martin

2011/9/16 Martin :

Show quoted text 21 lines
On 16/09/2011 11:48, silvioprog wrote: > > Hi, > > I try to open the list of options for auto-complete with Ctrl+Space, > but does not work, and after using Ctrl+Space need to type the letter > twice, eg: > > 1. Try auto complete the word "select"; (the list does not appear) > 2. Type "s" (of 's'elect), nothing happens; > 3. Type "s" again, finally the SynEdit get back to edit typing; > > Bug? > > In attached example to reproduce the error. > > Sorry if I have not explained well. > Syn AutoComplete is not the drop down feature known from the IDE please have a look in the example folder

OK, thx.

I'll use a SynEdit ported from Delphi to Lazarus. It is a copy that a friend (Etrusco) will provide me and that is compatible with official SynEdit of Delphi. ;)

The auto-complete of official SynEdit does not require any additional code to function correctly. Please, see: http://imagebin.org/172474

Others:

http://imagebin.org/172476
http://imagebin.org/172477

Thx.

Silvio Cl?cio =============================================== Blog - <silvioprog.com.br> Twitter - <twitter.com/silvioprog> LazSolutions - <code.google.com/p/lazsolutions> LazWebSolutions - <code.google.com/p/lazwebsolutions> Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR> =============================================== ? ?* Conhe?a nosso canal IRC sobre Lazarus: #lazarus-br * ===============================================

Reply by email

Flávio Etrusco
to silvioprog
Show quoted text 12 lines
> Syn AutoComplete is not the drop down feature known from the IDE > > please have a look in the example folder OK, thx. I'll use a SynEdit ported from Delphi to Lazarus. It is a copy that a friend (Etrusco) will provide me and that is compatible with official SynEdit of Delphi. ;) The auto-complete of official SynEdit does not require any additional code to function correctly. Please, see: http://imagebin.org/172474

When I finish porting the code, of course I'll will propose a patch to Lazarus if I find it's better than Lazarus' one.

-Fl?vio

Reply by email

silvioprog
to Flávio Etrusco
Fl?vio Etrusco wrote 17 lines
>> Syn AutoComplete is not the drop down feature known from the IDE >> >> please have a look in the example folder > > OK, thx. > > I'll use a SynEdit ported from Delphi to Lazarus. It is a copy that a > friend (Etrusco) will provide me and that is compatible with official > SynEdit of Delphi. ;) > > The auto-complete of official SynEdit does not require any additional > code to function correctly. Please, see: http://imagebin.org/172474 When I finish porting the code, of course I'll will propose a patch to Lazarus if I find it's better than Lazarus' one. -Fl?vio

Yes, good. \o/

Thx.

Silvio Cl?cio =============================================== Blog - <silvioprog.com.br> Twitter - <twitter.com/silvioprog> LazSolutions - <code.google.com/p/lazsolutions> LazWebSolutions - <code.google.com/p/lazwebsolutions> Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR> =============================================== ? ?* Conhe?a nosso canal IRC sobre Lazarus: #lazarus-br * ===============================================

Reply by email

Martin
to silvioprog: 2011/9/16 Martin : OK, thx. I'll use a SynEdit ported from Delphi to Lazarus. It is a…
silvioprog wrote 14 lines
2011/9/16 Martin: > > Syn AutoComplete is not the drop down feature known from the IDE > > please have a look in the example folder OK, thx. I'll use a SynEdit ported from Delphi to Lazarus. It is a copy that a friend (Etrusco) will provide me and that is compatible with official SynEdit of Delphi. ;) The auto-complete of official SynEdit does not require any additional code to function correctly. Please, see: http://imagebin.org/172474

The one you look for is TSynCompletion, not TSynAutoCompletion.

and the reason it isn't in the component pallette is, that I still hope to clean it up first... (so that seems still far off...)

Reply by email

Martin
to Flávio Etrusco: When I finish porting the code, of course I'll will propose a patch to Lazarus if I find…
Fl?vio Etrusco wrote 14 lines
>> Syn AutoComplete is not the drop down feature known from the IDE >> >> please have a look in the example folder > OK, thx. > > I'll use a SynEdit ported from Delphi to Lazarus. It is a copy that a > friend (Etrusco) will provide me and that is compatible with official > SynEdit of Delphi. ;) > > The auto-complete of official SynEdit does not require any additional > code to function correctly. Please, see: http://imagebin.org/172474 When I finish porting the code, of course I'll will propose a patch to Lazarus if I find it's better than Lazarus' one.

Search the mailinglist
Earlier this year someone mailed, who had already ported it. including SynWeb

Neither is better or worse => they have many diffs. and it will be hard to merge them (I once looked at the version from sourceforge, dreaming they may get re-united....)

Reply by email

Reinier Napoles Martinez
to Martin
>Search the mailinglist >Earlier this year someone mailed, who had already ported it. including >SynWeb

you can found the code here:
https://github.com/rnapoles/

had been unable to upload it before because I was behind a proxy that did not allowed the git protocol.
I've uploaded now using https.

sorry for my english.

********************************************************************* En la tierra hace falta personas que trabajen m?s y critiquen menos, que construyan m?s y destruyan menos, que prometan menos y resuelvan m?s que esperen recibir menos y dar m?s que digan mejor ahora que ma?ana. ?????????????????????????????????????????????????Che *********************************************************************

Reply by email

silvioprog
to Reinier Napoles Martinez

2011/9/17 Reinier Napoles Martinez :

Show quoted text 6 lines
>>Search the mailinglist >>Earlier this year someone mailed, who had already ported it. including >>SynWeb you can found the code here: https://github.com/rnapoles/

Nice. I tested on Linux and Windows, it worked well.

Show quoted text 14 lines
had been unable to upload it before because I was behind a proxy that did not allowed the git protocol. I've uploaded now using https. sorry for my english. -- ********************************************************************* En la tierra hace falta personas que trabajen m?s y critiquen menos, que construyan m?s y destruyan menos, que prometan menos y resuelvan m?s que esperen recibir menos y dar m?s que digan mejor ahora que ma?ana. ?????????????????????????????????????????????????Che *********************************************************************
Silvio Cl?cio =============================================== Blog - <silvioprog.com.br> Twitter - <twitter.com/silvioprog> LazSolutions - <code.google.com/p/lazsolutions> LazWebSolutions - <code.google.com/p/lazwebsolutions> Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR> =============================================== ? ?* Conhe?a nosso canal IRC sobre Lazarus: #lazarus-br * ===============================================

Reply by email

Martin
to silvioprog
silvioprog wrote 8 lines
2011/9/17 Reinier Napoles Martinez: >>> Search the mailinglist >>> Earlier this year someone mailed, who had already ported it. including >>> SynWeb > you can found the code here: > https://github.com/rnapoles/ Nice. I tested on Linux and Windows, it worked well.

Nice to see, you found a way to upload.

Have you thought about adding a link here:
http://wiki.lazarus.freepascal.org/Components_and_Code_examples#Packages_for_FPC.2FLazarus_.28not_hosted_here.29

and maybe also here http://wiki.lazarus.freepascal.org/SynEdit ?

Reply by email

Reinier Napoles Martinez
to Martin
Nice. I tested on Linux and Windows, it worked well.

as soon have more time,I continue contributing to the project

Show quoted text 7 lines
Nice to see, you found a way to upload. Have you thought about adding a link here: http://wiki.lazarus.freepascal.org/Components_and_Code_examples#Packages_fo r_FPC.2FLazarus_.28not_hosted_here.29 and maybe also here http://wiki.lazarus.freepascal.org/SynEdit ?

ok I added the information to the wiki. Although I have not created a package still.

Thank you very much Martin without your help, I would not have been able to solve some problems.

********************************************************************* En la tierra hace falta personas que trabajen m?s y critiquen menos, que construyan m?s y destruyan menos, que prometan menos y resuelvan m?s que esperen recibir menos y dar m?s que digan mejor ahora que ma?ana. ?????????????????????????????????????????????????Che *********************************************************************

Reply by email