Новости | FAQ | Авторы | Документация | В действии | Библиотека |
Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
Sanja v.2 02.12.2005 12:21
To specify the line and column number at which to position the cursor when the file is opened, the line number and column number should follow the filename immediately separated from the filename by a '/' character follows:filename/5/2This opens the file with the cursor positioned at line 5, column 2. The line number may be specified without specifying the column number.
The separator character '/' was a comma in previous releases, however as this is a valid character for filenames it has been changed. If it is preferred to use the comma or another character, the following line may be added to the INI file:
LineColumnChar= ,
where the comma may be any character except a colon ':', however UltraEdit will not be able to open a file that contains this character.
Additionally, the command line may include –lx or –cx following the filename (space separated) where x is the line or column number and this can be after each file name. This is a new method and if used it should be after the file name separated with a space and if the filename is in quotes it should be after the quotes with a space between this and the quotes.