Skip to content

Latest commit

 

History

History
237 lines (181 loc) · 8.38 KB

CHANGELOG.md

File metadata and controls

237 lines (181 loc) · 8.38 KB

0.14.0:

  • New: openInPendingState config. When enabled, open new location in pending state(preview mode). Thank you @aviatesk! #48

0.13.2:

  • Fix: mini editor was inappropriately saved as history and cause runtime exception. Now fixed.

0.13.1:

  • Fix: Debug command cursor-history:dump-history no longer throw exception.

0.13.0:

  • Improve: Tune flash duration from 0.5ms to 0.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, so ctrl-o, ctrl-i, ctrl-o return to same position at same row.

0.12.0:

  • 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.
  • Support: Engine Atom v1.19.0 and above.

0.11.1:

  • 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.

0.11.0:

  • 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

0.10.1:

  • Fix: Not usable when user enable keepSingleEntryPerBuffer config. #31

0.10.0:

  • Improve: Speedup activation time. No longer dependent on underscore-plus.
    • Activation time diff: from 20ms to 5ms in my env.

0.9.1

  • Fix: Was not flashed when jump to different buffer.
  • Improve: Invalidate marker for flash to avoid disturbance when immediately start editing after land.

0.9.0

  • 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

0.8.1

  • Fix: More protective to find closest('atom-text-editor')

0.8.0 beta only release

  • Fix: #23 event.target no longer hold editorElement from v1.13.0-beta so fix it.
  • Fix: Remove use of :shadow #24

0.7.0

  • 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).

0.6.1

  • Fix: Deprecation warning in Atom v1.10(passing lifetime options when creating marker is deprecated).

0.6.0

  • New: keepSingleEntryPerBuffer config option.
  • Internal: Remove dependency to atom-config-plus node module.
  • Improve: Add style support when editor.useShadowDOM was false.

0.5.9

  • FIX: Warning from Atom v1.2.0

0.5.8

  • FIX: When landing by prev/next commands, cursor position is not properly centered.
  • Update supported engines to over v1.1.0

0.5.7

  • skip because of release mistaken. 0.5.8 was meant to be 0.5.7.

0.5.6

  • Minor refactoring.
  • [FIX deprecation warning] use Promise.then instead of done.

0.5.5 - Spec complete

  • Add travis-CI
  • More spec coverage, and cleanup.
  • Change default flash duration from 200ms to 150ms

0.5.4 - Improve/Add spec

  • Refactoring.
  • Add ignoreCommands setting parameter.
  • Add spec

0.5.3 - Improve

  • Minor refactoring

0.5.2 - Improve

  • Refactoring
  • Minor bugfix
  • Improve: efficient and safe removal of invalid/destroyed entry.

0.5.1 - Improve

  • Add delay to properly save symbols-view:go-to-declaration.
  • Don't debounce for cursor-history command dispatch.

0.5.0 - Improve, completely rewritten

  • 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.

0.4.18 - FIX

  • Don't throw error when executed on not-editor buffer(like project-find-result) #8

0.4.17 - FIX

  • Not ideal way of fix, but need to avoid exception again. #7

0.4.16 - FIX

  • Not ideal way of fix, but need to avoid exception #7

0.4.15 - Improve

  • Remove unnecessary Flasher.flash arguments.
  • Update readme to follow vim-mode's command-mode to normal-mode

0.4.14 - FIX

  • Fix #5 TexEditor was not released immediately after destroyed. Thanks @aki77

0.4.13 - FIX

  • Fix editor already destroyed in delayed execution.

0.4.12 - Improve

  • Refactoring.
  • Better integration with symbols-view #3
  • Delaying unlock() to avoid unlocking while sequential next, prev jump.

0.4.11 - Improve

  • Fix disposable() on TextEditor::destroy()

0.4.10 - Improve

  • Fix #4 subscription leak each time editor destroyed
  • Delete unused keymap

0.4.8 - Improve

  • Use atom-config-plus.
  • throttle saving to well fit to symbols-view:go-to-declaration
  • Scroll to center on target is not current paneItem.

0.4.7 - Fix deprecated API.

0.4.6 - Fix and Feature

  • New option excludeClosedBuffer false by default.
  • [Fix] prev should Prev. prev was not worked when back from head.

0.4.5 - Fix

  • Debug mode not working since debug() is un-intentionally deleted

0.4.4 - Improve

  • Now configurable FlashType from 'line', 'word', 'point'

0.4.3 - Fix debug print.

  • 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.

0.4.2 - Fix debug print.

0.4.1 - Fix version info sorry..

0.4.0 - Improve

  • Rewrite history::add() comment.
  • add wrapper class LastEditor and Entry 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.

0.2.10 - Improve 2015-05-10

  • More Vim like history concatenation.

0.2.9 - Improve 2015-05-09

  • Cleanup and misc bug fix.

0.2.8 - Improve 2015-05-08

  • [FIX] calling History::dispose() throw Error when deactivated.

0.2.7 - Improve 2015-05-08

  • Cleanup. and eliminate direct splice() to destroy() marker properly.

0.2.6 - Improve 2015-05-08

  • [BUGFIX] Uncaught Error: This TextEditor has been destroyed #2

0.2.5 - Improve 2015-05-08

  • No longer try to jump to mark on deleted file.

0.2.4 - Improve 2015-05-08

  • Use Marker's setProperties rather than Object which own marker as property.

0.2.3 - Improve 2015-05-07

  • Use oldBufferPosition.
  • Add debug info.
  • FIX corner case bug.

0.2.2 - Improve 2015-05-06

  • No longer change active pane if editor's URI is same.
  • Always save history when buffer URI changes.
  • [BREAKING] rename cursor-history:reset to cursor-history:clear.

0.2.1 - Bug fix 2015-05-06

  • @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.

0.2.0 - First Release 2015-05-06

  • Refactoring
  • Ignore when multiple cursor

0.1.0 - Start 2015-05-05

  • Every feature added
  • Every bug fixed