octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #65518] Problems with right-click menu on Comm


From: Rik
Subject: [Octave-bug-tracker] [bug #65518] Problems with right-click menu on Command Window
Date: Wed, 27 Mar 2024 20:00:34 -0400 (EDT)

Follow-up Comment #13, bug #65518 (group octave):

Yes, that's correct.  We could eliminate the word boundary checking and get
the same result.

What do we really want to have happen here?  It doesn't seem necessary to
restrict the user to selecting one word.  For example, if the user highlights
"axes properties", then they should be able to get documentation on that
search term, rather than just "axes" which will return something different.  I
suppose trimming leading and trailing whitespace would be useful because
help() expects just a keyword.

This regexp trims whitespace and allows multiple word selections


        QRegularExpression expr {"^\\s*(\\w.*)\\s*$"};




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65518>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]