Main Page | Recent changes | Edit this page | Page history

Printable version | Disclaimers | Privacy policy

Not logged in
Log in | Help
 

Sublime History Navigation Model

From KDevelop

Contents

[edit] The Task

Let's imagine we have KDevelop with two split views. In each view user opened several files. Current state of the screen is:

---------------------------
|  file3.cpp |  file4.cpp |
|            |            |
|            |            |
---------------------------

Files previously opened in views are:

  left view:    | right view:
  1. file1.cpp  | 2. file2.cpp
  3. file3.cpp  | 4. file4.cpp

Numbers near the filenames indicate the order in which user opened the files.

This means the user:

Currently focus is in file4.cpp editor.

Also let's assume Alt-Up/Down keys traverse the history Back/Forward


[edit] Proposals

[edit] v.1 In-View History Navigation

  1. Back: show file2.cpp
  2. Forward: show file4.cpp

[edit] v.2 Global History Navigation With Switching

  1. Back: switch to left view + focus file3.cpp
  2. Back: switch to right view + show file2.cpp
  3. Back: switch to left view + show file1.cpp
  4. Forward: switch to right view + focus file2.cpp
  5. Forward: switch to left view + show file3.cpp
  6. Forward: switch to right view + show file4.cpp

[edit] v.3 Global In-View History Navigation

  1. Back: show file3.cpp
  2. Back: show file2.cpp
  3. Back: show file1.cpp
  4. Forward: show file2.cpp
  5. Forward: show file3.cpp
  6. Forward: show file4.cpp

Retrieved from "http://www.kdevelop.org/mediawiki/index.php/Sublime_History_Navigation_Model"

This page has been accessed 1,063 times. This page was last modified 13:27, 10 June 2007. Content is available under GNU Free Documentation License 1.2.


[Main Page]
Main Page
Community portal
Current events
Recent changes
Help
Donations

Edit this page
Discuss this page
Page history
What links here
Related changes

Special pages
Bug reports