Home Download Buy Blog Forum Support

[BUG] Jump Forward

[BUG] Jump Forward

Postby Mabusto on Wed Jun 11, 2014 9:12 pm

I can't tell if I've found a bug or if I just don't understand this feature correctly. When I click around in a text file (move the cursor) and then hit alt+minus, the cursor goes back as expected, but then when I hit alt+shift+minus, nothing happens and "Already at the newest position" appears in the status bar below.

Steps to Reproduce:
- Open a text file.
- Left click to different positions in the file.
- Note where the cursor is.
- Press "Jump Back" once.
- Press "Jump Forward" once.

What happens:
- Cursor does not move. "Already at the newest position" displays in status bar.

What is expected:
- Cursor will move to position it was at previous to pressing "Jump Back".

Sublime Text build 3062 (and 3073). I've found this while editing a .js file on Ubuntu 14.

Perhaps I'm misunderstanding this feature, so I've tried to get "Jump Forward" to work in any scenario, but everyone I've tried the cursor just stays put and "Already at newest position" displays in the status bar.

Is this a bug or am I misunderstanding how to use this? My expectation is that when you Jump Forward, the cursor will do the opposite of what a Jump Back keypress would do, as long as there hasn't been any user initiated cursor moves in between.
Last edited by Mabusto on Sun Mar 01, 2015 12:14 am, edited 2 times in total.
Mabusto
 
Posts: 5
Joined: Wed Jun 11, 2014 9:01 pm

Re: Jump Forward

Postby tito on Thu Jun 12, 2014 5:22 pm

Works for me.

Open file = cursor is at 0,0
Click somewhere in the middle.
Press ALT+- = Cursor jumps to 0,0
Press ALT+SHIFT+- Cursor jumps to middle of the file.

ST 3062 - Windows 7

command: jump_back
command: jump_forward
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 987
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: Jump Forward

Postby Mabusto on Tue Jun 17, 2014 11:06 pm

I can confirm that this works as expected in Windows 7, ST 3062.

Behaviour is the same as described in ST 3062 in Ubuntu 14.04.
Mabusto
 
Posts: 5
Joined: Wed Jun 11, 2014 9:01 pm

Re: Jump Forward

Postby shk on Thu Jun 19, 2014 8:55 am

Hi

I can confirm that this doesn't work for me as well.
I am on build 3059 on Ubuntu 14.04
This bug has been a pet peeve of mine while using Sublime.
shk
 
Posts: 1
Joined: Thu Jun 19, 2014 8:53 am

Re: [BUG] Jump Forward

Postby Mabusto on Fri Jan 30, 2015 10:48 pm

Just and update. I've tested this on the 3067 build on Ubuntu 14.04 and it is still occurring as reported.
Mabusto
 
Posts: 5
Joined: Wed Jun 11, 2014 9:01 pm

Re: [BUG] Jump Forward

Postby Mabusto on Sun Mar 01, 2015 12:15 am

Another update. This bug occurs as reported in build 3073.
Mabusto
 
Posts: 5
Joined: Wed Jun 11, 2014 9:01 pm

Re: [BUG] Jump Forward

Postby tito on Thu Mar 05, 2015 5:18 am

What command do you see if you enable command logging?
View -> show Console, then paste this:

sublime.log_commands(True)
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 987
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: [BUG] Jump Forward

Postby Mabusto on Fri Mar 20, 2015 7:40 pm

This is the console output from the latest build (3079).

I open a file, click around 5 or 6 times (all different lines) then hit the jump back (which works), then every time I hit jump forward, it shows "Already at the newest position" in the panel beneath the console in the lower left. In the log, every call to "jump_forward" results in "Already at the newest position", no call to it ever moves the caret.

Code: Select all
DPI scale: 1
startup, version: 3079 linux x64 channel: dev
executable: /opt/sublime_text/sublime_text
working dir: /
packages path: /home/justin/.config/sublime-text-3/Packages
state path: /home/justin/.config/sublime-text-3/Local
zip path: /opt/sublime_text/Packages
zip path: /home/justin/.config/sublime-text-3/Installed Packages
ignored_packages: ["Vintage"]
generating syntax summary
generating meta info summary
pre session restore time: 0.143283
startup time: 0.221207
first paint time: 0.443682
reloading plugin Default.block
reloading plugin Default.comment
reloading plugin Default.copy_path
reloading plugin Default.delete_word
reloading plugin Default.detect_indentation
reloading plugin Default.duplicate_line
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.indentation
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_file_settings
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.quick_panel
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.swap_line
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.trim_trailing_white_space
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin 0_package_control_loader.00-package_control
reloading plugin 0_package_control_loader.01-ssl-linux
Linux SSL: successfully loaded _ssl module for libssl.so.1.0.0
reloading plugin 0_package_control_loader.02-bz2
reloading plugin Package Control.Package Control
reloading plugin Package Control.bootstrap
reloading plugin Pretty JSON.PrettyJson
[Errno 2] No such file or directory: 'jq'
plugins loaded
Package Control: Skipping automatic upgrade, last run at 2015-03-20 12:25:41, next run at 2015-03-20 13:25:41 or after
>>> sublime.log_commands(True)
command: drag_select {"event": {"button": 1, "x": 541.5, "y": 288.5}}
command: drag_select {"event": {"button": 1, "x": 332.5, "y": 220.5}}
command: drag_select {"event": {"button": 1, "x": 332.5, "y": 191.5}}
command: drag_select {"event": {"button": 1, "x": 393.5, "y": 181.5}}
command: drag_select {"event": {"button": 1, "x": 386.5, "y": 160.5}}
command: drag_select {"event": {"button": 1, "x": 379.5, "y": 147.5}}
command: jump_back
command: jump_back
command: jump_back
command: jump_forward
command: jump_forward
command: jump_forward
Mabusto
 
Posts: 5
Joined: Wed Jun 11, 2014 9:01 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 24 guests