Home Download Buy Blog Forum Support

Find with multiple cursors?

Find with multiple cursors?

Postby npinchot on Fri Mar 15, 2013 5:29 pm

After I have multiple cursors, is there a way to find with all of them?

For example, given the following text:

Code: Select all
    FIELDS = [
        ("Header1", "field1"),
        ("Header2", "field2"),
        ("Header3 long text", "field3"),
        ("Header4 extra", "field4"),
        ("Header5", "field5"),
    ]


If I have a cursor after the first double quote on each line, I would like to "jump" the cursor to the next double quote. Is this possible?

The resulting structure I would like is this:

Code: Select all
    FIELDS = {
        "Header1": {
            "field": "field1",
        },
        "Header2": {
            "field": "field2",
        },
        "Header3 long text": {
            "field": "field3",
        },
        "Header4 extra": {
            "field": "field4",
        },
        "Header5": {
            "field": "field5",
        },
    }


I appreciate any help/pointers on this. Thanks.
npinchot
 
Posts: 2
Joined: Wed Feb 06, 2013 10:59 pm

Re: Find with multiple cursors?

Postby bizoo on Fri Mar 15, 2013 6:14 pm

bizoo
 
Posts: 886
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 26 guests