[ 
https://issues.apache.org/jira/browse/GROOVY-5380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14962577#comment-14962577
 ] 

ASF GitHub Bot commented on GROOVY-5380:
----------------------------------------

GitHub user jwagenleitner opened a pull request:

    https://github.com/apache/incubator-groovy/pull/145

    GROOVY-5380: Add Ctrl+L/Ctrl+B for line/block selection

    Implemented Ctrl+B (Select Block) to handle selecting a word, line and 
block.  If nothing is currently selected the action will select the next chunk 
unless at the end of the line then the previous chunk will be selected.  If 
there is already a partial selection on a line, then the entire line will be 
selected.  If an entire line or multiple lines are already selected then the 
block/paragraph will be selected.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jwagenleitner/incubator-groovy GROOVY-5380

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-groovy/pull/145.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #145
    
----
commit 6df9081f564c7592e84f178841b17015addd63b4
Author: John Wagenleitner <john.wagenleit...@gmail.com>
Date:   2015-10-12T21:52:29Z

    GROOVY-5380: Add Ctrl+L/Ctrl+B for line/block selection
    
    Implemented Ctrl+B (Select Block) to handle selecting a word, line and 
block.  If nothing is currently selected the action will select the next chunk 
unless at the end of the line then the previous chunk will be selected.  If 
there is already a partial selection on a line, then the entire line will be 
selected.  If an entire line or multiple lines are already selected then the 
block/paragraph will be selected.

----


> Add Ctrl+L/Ctrl+B for line/block selection
> ------------------------------------------
>
>                 Key: GROOVY-5380
>                 URL: https://issues.apache.org/jira/browse/GROOVY-5380
>             Project: Groovy
>          Issue Type: Improvement
>          Components: Groovy Console
>    Affects Versions: 1.8.6
>            Reporter: Paul Lewis
>            Priority: Trivial
>              Labels: contrib
>
> GroovyConsole is great but I think a couple of additions would make rapid 
> experimenting using it easier:
> Select Line (Ctrl+L) - to select the current line
> Select Block (Ctrl+B ?) - to select the lines in the current block 
> (contiguous lines with no blank lines)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to