Annoying shifting of the viewing start position when editing simple subtitle SRT files



  • Hi there,

    I use Notepad ++ for editing subtitle SRT files, and although this problem happens all the time , I have no idea yet what I do to trigger it. When I’m clicking with my mouse at a certain position and/or typing and scrolling through text inside the file, very often the first appr. 15 columns of the entire file seem to ‘jump behind the row numbers’ so I can’t see the start of my subtitles anymore. I then have to click on the first visible character on the left and move the cursor to left again 15 positions with the arrow key (maybe there is a very simple way but I don’t know about it)

    Does anyone know what is causing this ‘unwanted feature’ and what purpose it has, and how to avoid it?

    Marcel



  • @Marcel-Vossen Disable word wrap



  • @Marcel-Vossen said:

    Does anyone know what is causing this ‘unwanted feature’ and what purpose it has, and how to avoid it?

    As to why it’s happening for you: since you don’t tell us anything about your subtitle file – like if there are long lines, or indented lines – we don’t have enough to replicate your circumstances and figure out what’s causing it.

    However, my guess (and @andrecool-68 's guess, too) is it has something to do with long lines. If you’ve got a long line (wider than the screen width) which is indented, if you hit HOME (and haven’t changed your key mappings), it will take you to the first non-indent character of that line, but won’t show the characters to the left of the indent. If you hit ENTER from the end of a long line, it will auto-indent the next line to that location, and similarly won’t show the characters to the left of the indent. Using the horizontal scroll bar at the bottom of the window, or hitting HOME a second time, or hitting Alt+HOME, should all allow you to scroll all the way to the left edge of your document. Changing the word-wrap settings, as @andrecool-68 suggested, may or may not help.

    (And horizontal scroll bars and hitting HOME one or more times to get to the left edge of a line are common to most editing software I’ve used; I’m surprised you thought you had to arrow over. Make sure you add scroll bars and HOME keys to your bag of tricks for all editing software.)


Log in to reply