Sign in Join

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

Mailing lists / lazarus / 2009-05

[Fwd: Re: Clicking in editor preview doesn't select Element Attributes]

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Martin

I'll have a should be easy, that includes code folding tree. "bracket highlight" may be a bit longer...

about code folding tree => should it be allowed to collapse folds (as current), or should clicks just select the attribute, but never fold (I thin allow folding is no harm)

And then there are plenty of highlights, such as "current word" /

"begin/end pair" / "incremental search" that aren't Ishenin wrote 32 lines
Graeme Geldenhuys wrote: > 2009/5/20 Paul Ishenin : > >> Sorry, this piece of code was lost while dialog merge. Fixed in r20075. >> > > Thanks it's working 99% again. :-) > > One few issues: > * When clicking in the Gutter, it doesn't select the Gutter element > attribute. > > these two are minor > * It doesn't detect "bracket highlight" when you click in preview > editor > * Also not "code folding tree" > > Should I report these in Mantis? > Wait while Martin wake up - maybe he suggest you something :) Best regards, Paul Ishenin. _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Graeme Geldenhuys
to Martin

2009/5/22 Martin :

Gutter should be easy, that includes code folding tree. "bracket highlight" may be a bit longer...

I think Gutter is probably the more important one of the remaining few. Some are just to hard to click in the preview, so I don't thing it makes sense to do so, and rather select them manually in the elements listbox. For example: right margin, code folding tree line. Letting the user click a 1 pixel wide line is not very user friendly (even for a user with 20/20 vision and a really steady hand like a surgeon). :-) So I wouldn't bother implementing those.

about code folding tree => should it be allowed to collapse folds (as current), or should clicks just select the attribute, but never fold (I thin allow folding is no harm)

Folding should be fine, but see my reply in previous paragraph.

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email

Martin

Hi,

I added the gutter + parts (Line-numbers, coder-fold-tree, change-indicator).
Gutter-Separator line doesn't seem to have an entry.

"Current line highlight" conflicts with all the other tokens (includding "bracket-highlight" ) on the line. I added it to be detected if clicked past EOL only.

"bracket-highlight" (as well as word pairs, current word, incremental search) are still to be done.

Right-Margin is on a different option-page.

For the ones not yet done, you can add a mantis entry, if you wish. It probably will be a (very) good while before I get to them.

Best Regards
Martin

Show quoted text 23 lines
Graeme Geldenhuys wrote: > 2009/5/20 Paul Ishenin : > >> Sorry, this piece of code was lost while dialog merge. Fixed in r20075. >> > > Thanks it's working 99% again. :-) > > One few issues: > * When clicking in the Gutter, it doesn't select the Gutter element > attribute. > > these two are minor > * It doesn't detect "bracket highlight" when you click in preview > editor > * Also not "code folding tree" > > Should I report these in Mantis? > Wait while Martin wake up - maybe he suggest you something :) Best regards, Paul Ishenin.

Reply by email

Graeme Geldenhuys
to Martin

2009/5/26 Martin :

I added the gutter + parts (Line-numbers, coder-fold-tree, change-indicator).

Thank you Martin, this is excellent! I'll give it a try tomorrow at work. Thanks again for all your effort. :-)

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email