[Geany-devel] Calltip and autocomplete interaction
elextr at xxxxx
Sat Aug 8 07:35:36 UTC 2009
Well IIRC thats almost how it works now, I have just described it. in
a formal way. I'm not suggesting that the implementation needs to be
a state machine, but it makes describing it without a LOT of words
2009/8/8 Thomas Martitz <thomas.martitz at student.htw-berlin.de>:
> Lex Trotman schrieb:
>> I agree, I'm not sure its a big problem, but then again if the calltip
>> was covering something I needed to read whilst typing the parameter
>> I'd be annoyed so..
>> I suggest that the behavior from the user point of view should follow
>> a simple state machine:
>> Three states, not displayed, displayed, hidden
>> State not displayed
>> on ( show calltip and go to state displayed
>> on calltip keybinding show calltip go to state displayed
>> State displayed
>> on autocomplete replace calltip with autocomplete
>> on autocomplete removed (by acceptance or dismissal or mismatch) show
>> on ) hide calltip and go to state not displayed
>> on user dismissal of calltip (down arrow or esc) hide calltip and go
>> to state hidden
>> State hidden
>> on autocomplete show autocomplete
>> on autocomplete removed do not show calltip
>> on ) go to state not displayed
>> on show calltip keybinding show calltip go to state displayed
>> What this is doing is that if the user dismisses the calltip it stays
>> dismissed until the user asks for it again, but if non-user action
>> removes the calltip (like Geany displaying autocomplete) then it is
>> re-displayed as soon as possible.
>> I havn't had time to look at how different this is to the current code.
> That sounds like complicating stuff necessarily to me.
> Best regards.
> Geany-devel mailing list
> Geany-devel at uvena.de
More information about the Devel