qtnc / 6pad2

6pad++, the successor of 6pad text editor; in C++ and python instead of C and lua.
GNU General Public License v3.0
7 stars 4 forks source link

6pad++ does not always go to the line passed as parameter in command line #2

Closed CyrilleB79 closed 8 years ago

CyrilleB79 commented 8 years ago

6pad++ is configured to open all the files in the same instance.

Steps to reproduce the issue:

  1. Open 6pad++
  2. In a command window (cmd.exe), enter the following command line : d:\pathTo6pad++\6pad++.exe d:\pathToFile\foo.txt:5

Result: foo.txt opens well in 6pad++ but the text cursor is at line 1 and not line 5. If the file foo.txt is already opened in 6pad++, the cursor is moved correctly to line 5. If 6pad++ wazs not opened before executing the command line, the cursor is also correctly put at line 5 when 6pad++ and foo.txt is opened.