Menu

#338 (ok 2.10.0) Allow selection of SQL using triple-click

closed-fixed
Interface (183)
1
2007-02-28
2006-12-08
No

When you triple-click on a word in a text document in a webbrowser, word processor etc., the whole paragraph is (usually) selected.

When you triple-click on a word in the highlighted SQL code in the top of the page, e.g. when browsing through result sets etc., not only the SQL is selected but also the string "SQL query:" that is contained in the <legend> of the fieldset that contains the highlighted SQL.

This trivial patch adds a DIV, so that only the SQL and not the legend is selected.

Note that in Firefox, triple-clicking does not span the <br>'s that are inserted in the hightligted SQL so it triple-clicking in Firefox still isn't that useful (this patch doesn't make this problem worse that it already is). In IE7 the whole SQL is selected, even when it spans multiple lines.

Discussion

  • Christian Schmidt

    Patch

     
  • Michal Čihař

    Michal Čihař - 2007-01-02
    • assigned_to: nobody --> nijel
     
  • Michal Čihař

    Michal Čihař - 2007-01-02
    • milestone: 284145 -->
    • priority: 5 --> 1
    • summary: Allow selection of SQL using triple-click --> (ok 2.10.0) Allow selection of SQL using triple-click
    • status: open --> open-fixed
     
  • Michal Čihař

    Michal Čihař - 2007-01-02

    Logged In: YES
    user_id=192186
    Originator: NO

    Merged in subversion, thanks.

     
  • Marc Delisle

    Marc Delisle - 2007-02-28
    • status: open-fixed --> closed-fixed