Skip to content
  • d3fault's avatar
    Add goto column number command line arg to complement goto line number · 44e7eca5
    d3fault authored
    
    
    When specifying a filename as an argument, you can append a colon (or a
    plus) followed by a number to indicate which line the cursor should be
    positioned at in that file. This patch adds the same functionality but
    for the column position as well. Ex: main.cpp:5:4 would open main.cpp
    and put the cursor at line 5 column 4. The column number is optional,
    just like the line number before it. It should be noted that specified
    column numbers larger than the amount of characters available on that
    line are wrapped onto subsequent lines.
    
    Change-Id: I50208500fa43e43a9514d2be21630b3c607119a6
    Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
    Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
    44e7eca5