Skip to content

double-clicking whitespace selects adjacent chars #98

Closed

Description

@processing-bugs

Original author: b...@processing.org (June 07, 2010 00:37:08)

This bug automatically added from:
http://dev.processing.org/bugs/show_bug.cgi?id=348

Comment from fjen, 2006-05-14 07:39

double clicking whitespace selects everything between the previous and next number, character or break.

for example, clicking this:
i-- )
between -- and ) will select "-- )"

i think this is somewhat related to this bug:
http://dev.processing.org/bugs/show_bug.cgi?id=261

Original issue: http://code.google.com/p/processing/issues/detail?id=59

Activity

  1. processing-bugs commented on Feb 10, 2013

    @processing-bugs
    Author

    From b...@processing.org on June 07, 2010 00:37:10
    Comment from fry, 2006-11-10 07:46

    do you know of any reference on what the "correct" behavior would be? a
    quick glance didn't turn up anything in the apple HI guidelines:
    http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/XHIGUserInput/chapter_11_section_3.html#//apple_ref/doc/uid/TP30000361-TP22

  2. processing-bugs commented on Feb 10, 2013

    @processing-bugs
    Author

    From b...@processing.org on June 07, 2010 00:37:11
    Comment from fjen, 2006-11-10 09:16

    (In reply to comment #1)

    nah, but almost any app i know (textedit, bbedit, ...) only selects the whitespace when you
    double-click it. including tabs, spaces.

  3. processing-bugs commented on Feb 10, 2013

    @processing-bugs
    Author

    From b...@processing.org on June 07, 2010 00:37:12
    Comment from fry, 2006-11-10 09:51

    attempted and failed, will come back to it later:

      // this is really nasty.. turns out that double-clicking any non-letter
      // or digit char gets lumped together.. sooo, this quickly gets messy,
      // because really it needs to check whether the chars are of the same
      // type.. so a double space or double - might be grouped together,
      // but what about a +=1? do + and - get grouped but not the 1? blech,
      // coming back to this later. it's not a difficult fix, just a
      // time-consuming one to track down all the proper cases.
    
  4. processing-bugs commented on Feb 10, 2013

    @processing-bugs
    Author

    From b...@processing.org on June 07, 2010 00:37:14
    Comment from fjen, 2006-11-11 00:27

    some common behaviour (i.e. bbedit, ..):

    abc += 123
    (6 blocks: "abc", " ", "+", "=", " ", "123")
    [which is odd to me "+=" should be one block]

    function( super, 1 )
    (8 blocks: "function", "( super, 1 )", " ", "super", ",", " ", "1", " ")

    i++;
    (4 blocks: "i", "+", "+", ";")
    [again, "i++" should be one block]

    7+=3
    (2 block, "7", "3")
    ["+=" should be one block]

    here's some info from apple on selecting (triple-clicking is gonna make you happy):
    http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/
    XHIGUserInput/chapter_11_section_4.html#//apple_ref/doc/uid/TP30000361-TPXREF26

  5. processing-bugs commented on Feb 10, 2013

    @processing-bugs
    Author

    From pe...@stairways.com.au on March 14, 2011 08:20:20
    I have submitted a patch for double click and triple click and drag behaviour that also resolves this issue. See Issue 576.

    See http://code.google.com/p/processing/issues/detail?id=576

  6. processing-bugs commented on Feb 10, 2013

    @processing-bugs
    Author

    From f...@processing.org on April 16, 2011 16:10:23
    Fixes from Peter N Lewis incorporated for the next release (0196 or 1.5, whichever comes first).

  7. processing-bugs commented on Feb 10, 2013

    @processing-bugs
    Author

    This issue is a duplicate of #576

  8. github-actions commented on Jun 18, 2021

    @github-actions

    This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  9. locked as resolved and limited conversation to collaborators on Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions