Search edit of length >64K is odd

General discussion related to "Everything".
Post Reply
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Search edit of length >64K is odd

Post by therube »

That's odd when it occurs.
Might not be apparent just what is going on in such circumstances.
void
Developer
Posts: 16683
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search edit of length >64K is odd

Post by void »

It's a limitation with the Windows edit control.

I will need to implement my own edit control...
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: Search edit of length >64K is odd

Post by therube »

My point was more that it is just "blank".

Maybe if there were some sort of "message"; "overflow", "too long", ... at least it might be more apparent that actual results are being returned (even if you might not necessarily know what they are based on ;-).)

Note that the window title does show some part of the search line.
void
Developer
Posts: 16683
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search edit of length >64K is odd

Post by void »

The limitation varies from different Windows versions, with no easy way to know the limitation.

I could render the text myself when the length is over 4096 characters.

The Window caption is truncated to 255 characters.
Post Reply