Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finding with hidden text #2815

Open
philiprbrenan opened this issue May 28, 2021 · 1 comment
Open

Finding with hidden text #2815

philiprbrenan opened this issue May 28, 2021 · 1 comment

Comments

@philiprbrenan
Copy link

Please see the attached image below: Geany cannot find the text that obviously is present because there is some more text way to the right in the search box which cannot be seen by the user because of the limited width of the search box which, in consequence, prevents the visible text from being located. Please could you provide an indicator to show the user that the search text extends further to the right than perhaps they anticipate leading to the anomalous situation pictured below? I try to get a new user started with Geany every week because it is such a great editor!

image

@elextr
Copy link
Member

elextr commented May 28, 2021

Unlikely.

  1. Geany does not know how wide the text entry is, you can resize the dialog and it grows/shrinks
  2. Geany does not know how wide the displayed text is, its Unicode, so number of bytes != number of code points != number of glyphs and those can be varying widths depending on font and font size chosen

So Geany would have to replicate most of the GTK layout code just to tell if the text exceeded the available width, pretty unlikely to happen, in fact (as best anyone can predict such things) won't ever happen unless its added to the text entry widget in GTK, sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants