Sign in Join

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

Mailing lists / lazarus / 2018-01

Extended filter for Code Completion

12 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

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

Vojtěch Čihák
to Juha Manninen: I applied the patch from here: https://bugs.freepascal.org/view.php?id=32974 It looks…

It can be resized by mouse, by the small handle in bottom-rigth corner.  
V.
______________________________________________________________

Show quoted text 5 lines
Od: AlexeyT via Lazarus Komu: Juha Manninen via Lazarus Datum: 08.01.2018 19:30 Předmět: Re: [Lazarus] Extended filter for Code Completion

patch makes red hilite of current ID in the listbox. Can you tell how to make listbox 2x-3x wider? it's narrow.

Please test everybody. Does it have negative side-effects of some kind?
Regards, Alexey --

Reply by email

Mattias Gaertner
to Juha Manninen: I applied the patch from here: https://bugs.freepascal.org/view.php?id=32974 It looks…
I applied the patch from here: https://bugs.freepascal.org/view.php?id=32974 It looks good to me. Please test everybody. Does it have negative side-effects of some kind?

The name ExtendedFilter sounds as if it gives more options.

Instead it adds identifiers that contains the identifier, behind the usual list of identifiers that starts with the identifiers. What would be a good name for this option?
"AddContainsPrefix" or (not) "OnlyBeginsWithPrefix"?

Mattias

Reply by email

Ondrej Pokorny
to Juha Manninen: I applied the patch from here: https://bugs.freepascal.org/view.php?id=32974 It looks…
Juha Manninen wrote
I applied the patch from here: https://bugs.freepascal.org/view.php?id=32974 It looks good to me. Please test everybody. Does it have negative side-effects of some kind?

The highlight color of the keyword is hard coded and it doesn't change for selected item meaning I can hardly read the selected item.

A second question: why are the settings in "Editor -> Completion and hints" page of IDE options and not "Codetools -> Identifier completion" ?

Ondrej
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180117/d1ad3919/attachment.html> -------------- next part --------------
A non-text attachment was scrubbed...
Name: iibmnnlcpjckadib.png
Type: image/png
Size: 7777 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180117/d1ad3919/attachment.png>

Reply by email

Ondrej Pokorny
to Ondrej Pokorny
Ondrej Pokorny wrote 8 lines
On 09.01.2018 0:55, Juha Manninen via Lazarus wrote: > I applied the patch from here: > https://bugs.freepascal.org/view.php?id=32974 > It looks good to me. > Please test everybody. Does it have negative side-effects of some kind? The highlight color of the keyword is hard coded and it doesn't change for selected item meaning I can hardly read the selected item.

I fixed this by myself in r57105.

Ondrej

Reply by email