- New:
openInPendingState
config. When enabled, open new location in pending state(preview mode). Thank you @aviatesk! #48
- Fix: mini editor was inappropriately saved as history and cause runtime exception. Now fixed.
- Fix: Debug command
cursor-history:dump-history
no longer throw exception.
- Improve: Tune flash duration from
0.5ms
to0.8ms
. - Internal: Overhaul code for explicitness, readability #45.
- Apply standard linter, code format rule #44.
- Improve:
ctrl-o
,ctrl-i
history navigation for column change within same row.- It was not idempotent since
ctrl-o
add new entry and invalidate entry with same row. - But now no longer destroy entry
ctrl-o
add case, soctrl-o
,ctrl-i
,ctrl-o
return to same position at same row.
- It was not idempotent since
- New: Save history for unsaved editor #38
- Previously cursor-history package maintain cursor position history for the editor which have filePath on disk.
- From this version, remember history for temporal editor while that editor is alive(not be destroyed).
- Maintenance: Convert all code from CoffeeScript to JavaScript #35
- Improve: Destroy duplicate entry(same position and same filePath) before jump.
- This situation happens when whole editor content was replaced such as
atom-prettier
package. - This means
prettier:format
invalidate all history in that buffer. - This invalidation is correct behavior from cursor-history package's stand point, keeping duplicate entries in history is worse.
- This situation happens when whole editor content was replaced such as
- Support: Engine Atom v1.19.0 and above.
- Fix: Guard incase closest('atom-text-editor') return non editor object #29
- E.g. Threw error when clicking close button of
mocha-test-runner
package, but no longer.
- E.g. Threw error when clicking close button of
- Improve: Now can track history for un-bubbled mouse click which cause open file. #32
- In previous release un-bubbled mouse event was not history trackable.
- This enhancement is to support hyperclick package's jump in mind.
- New: History serialize/deserialization with normal Atom's serialization mechanism #33
- Thus history is maintained per project not per Atom-wide.
- Meta: Add following tags in
keywords
section of package.json for better findability.jumplist
,history
,navigation
- Fix: Not usable when user enable
keepSingleEntryPerBuffer
config. #31
- Improve: Speedup activation time. No longer dependent on
underscore-plus
.- Activation time diff: from 20ms to 5ms in my env.
- Fix: Was not flashed when jump to different buffer.
- Improve: Invalidate marker for flash to avoid disturbance when immediately start editing after land.
- Improve: Better UI flashing effect using keyframe animation.
- Breaking: deprecated following setting parameter. The line flashing is only supported flashing way and not customizable.
flashDurationMilliSeconds
flashColor
flashType
- Fix: More protective to find
closest('atom-text-editor')
- Fix: #23 event.target no longer hold editorElement from v1.13.0-beta so fix it.
- Fix: Remove use of
:shadow
#24
- Improve: Cleanup codebase for readability and explicitness.
- Fix: When visiting history entry, it try to stick same pane(was not in previous release because of bug).
- Fix: Deprecation warning in Atom v1.10(passing lifetime options when creating marker is deprecated).
- New:
keepSingleEntryPerBuffer
config option. - Internal: Remove dependency to
atom-config-plus
node module. - Improve: Add style support when
editor.useShadowDOM
wasfalse
.
- FIX: Warning from Atom v1.2.0
- FIX: When landing by prev/next commands, cursor position is not properly centered.
- Update supported engines to over v1.1.0
- skip because of release mistaken. 0.5.8 was meant to be 0.5.7.
- Minor refactoring.
- [FIX deprecation warning] use Promise.then instead of done.
- Add travis-CI
- More spec coverage, and cleanup.
- Change default flash duration from 200ms to 150ms
- Refactoring.
- Add ignoreCommands setting parameter.
- Add spec
- Minor refactoring
- Refactoring
- Minor bugfix
- Improve: efficient and safe removal of invalid/destroyed entry.
- Add delay to properly save symbols-view:go-to-declaration.
- Don't debounce for cursor-history command dispatch.
- now use atom.commands.onWillDispatch/onDidDispatch instead of onDidChangeCursorPosition
- No longer track renamed buffer, since its make things confuse It even tracked files which was removed and moved to system's trash folder.
- Now resilient for cursor position change happen internally in several commands.
- As a result no longer need workaround for symbols-view's cursor internal movement. Now work further well with symbols-view and other packages.
- [New command] to move to next/prev only within current active editor.
- Don't throw error when executed on not-editor buffer(like project-find-result) #8
- Not ideal way of fix, but need to avoid exception again. #7
- Not ideal way of fix, but need to avoid exception #7
- Remove unnecessary Flasher.flash arguments.
- Update readme to follow vim-mode's command-mode to normal-mode
- Fix #5 TexEditor was not released immediately after destroyed. Thanks @aki77
- Fix editor already destroyed in delayed execution.
- Refactoring.
- Better integration with symbols-view #3
- Delaying unlock() to avoid unlocking while sequential
next
,prev
jump.
- Fix disposable() on TextEditor::destroy()
- Fix #4 subscription leak each time editor destroyed
- Delete unused keymap
- Use
atom-config-plus
. - throttle saving to well fit to
symbols-view:go-to-declaration
- Scroll to center on target is not current paneItem.
- Fix for atom/atom#6867
- New option
excludeClosedBuffer
false by default. - [Fix]
prev
shouldPrev
. prev was not worked when back from head.
- Debug mode not working since debug() is un-intentionally deleted
- Now configurable
FlashType
from 'line', 'word', 'point'
- Flash cursor line on landing.
- Independent settings object and utility functions.
- settings option ordered.
- Set cursor position to middle of screen if target was off-screen.
- Rewrite history::add() comment.
- add wrapper class
LastEditor
andEntry
to handle corner case situation. - greatly improve for internal structure and fix several bug.
- Configurable option to keep current pane on history excursion with
prev
,next
. - Update history entry on pathChange(
onDidChangePath
). - More precise handling on ActivePaneItem and CursorMoved event.
- More Vim like history concatenation.
- Cleanup and misc bug fix.
- [FIX] calling History::dispose() throw Error when deactivated.
- Cleanup. and eliminate direct splice() to destroy() marker properly.
- [BUGFIX] Uncaught Error: This TextEditor has been destroyed #2
- No longer try to jump to mark on deleted file.
- Use Marker's setProperties rather than Object which own marker as property.
- Use
oldBufferPosition
. - Add debug info.
- FIX corner case bug.
- No longer change active pane if editor's URI is same.
- Always save history when buffer URI changes.
- [BREAKING] rename
cursor-history:reset
tocursor-history:clear
.
- @direction was set when entry return undefined.
- Now use Marker which is more resilient to buffer change.
- Rename filename from cursor-history.coffee to history.coffee
- [BUG FIX]: Ignore untitled buffer since have not URI or PATH.
- [BUG FIX]: History#index got negative on prev() on History#entries is empty.
- Refactoring
- Ignore when multiple cursor
- Every feature added
- Every bug fixed