Discussion:
Autocomplete list with short entrys jumps around on resize - Bug?
Charly Dante
2014-01-28 20:10:15 UTC
Permalink
Hi,

I have a question regarding the Autocomplete list. The list seems to behave
strange when it contains entrys that are very short: If the list only
contains entries with for example a maximum length of 4 chars and I try to
resize it by clicking on its border, the list jumps to the right. One
example list could be:

dec
inc
jmp

With these entries that are all very short, the list jumps very far when
trying to resize it.

The more chars the longest entry has, the smaller is the "distance" that
the list jumps to the right - If it contains at least one entry with more
than 8 chars it seems that the list doesn't jump any more on manual
resizing, but maybe the distance is just so small that one can't recognize
it. With 8 chars there is still a very small jump observable.

I guess this is a bug?

Best Regards,
CD
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Neil Hodgson
2014-02-02 08:14:21 UTC
Permalink
I have a question regarding the Autocomplete list. The list seems to behave strange when it contains entrys that are very short: If the list only contains entries with for example a maximum length of 4 chars and I try to resize it by clicking on its border, the list jumps to the right.
This appears to occur when the maximum calculated width is less than the minimum width. Change made to ensure the maximum size is always greater than or equal to the minimum size.

https://sourceforge.net/p/scintilla/code/ci/bbd9493424ba29f5cc28dc013939bbda6aae0552/

Neil
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Charly Dante
2014-02-02 17:53:30 UTC
Permalink
Works great, thank you very much for the fast fix :)
Post by Charly Dante
I have a question regarding the Autocomplete list. The list seems to
behave strange when it contains entrys that are very short: If the list
only contains entries with for example a maximum length of 4 chars and I
try to resize it by clicking on its border, the list jumps to the right.
This appears to occur when the maximum calculated width is less than
the minimum width. Change made to ensure the maximum size is always greater
than or equal to the minimum size.
https://sourceforge.net/p/scintilla/code/ci/bbd9493424ba29f5cc28dc013939bbda6aae0552/
Neil
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Loading...