1. 03 Ock, 2012 4 kayıt (commit)
  2. 02 Ock, 2012 1 kayıt (commit)
  3. 01 Ock, 2012 1 kayıt (commit)
  4. 30 Ara, 2011 4 kayıt (commit)
  5. 26 Ara, 2011 13 kayıt (commit)
  6. 25 Ara, 2011 7 kayıt (commit)
  7. 24 Ara, 2011 6 kayıt (commit)
    • Jiří Techet's avatar
      Do not change notebook tab in document-close callback · 624c11ce
      Jiří Techet yazdı
      This can lead to unpredictable behavior of document_get_current()
      624c11ce
    • Jiří Techet's avatar
    • Colomban Wendling's avatar
      Make switch to MRU upon tab close configurable · 23eede52
      Colomban Wendling yazdı
      Add configuration option tab_close_switch_to_mru to allow the user
      to choose whether to switch to the most recently used tab or to the
      next one after closing the current tab.
      23eede52
    • Jiří Techet's avatar
      Make the tab switching dialog a bit more useful · f6be8b47
      Jiří Techet yazdı
      Right now the tab switching dialog shows the full
      path of the current file. However this dialog is too
      narrow and in my case usually displays one directory
      per line. This makes it hard to find the base
      filename, which is the thing you are most probably
      looking for.
      
      This patch displays only the base name - in bold. In
      addition, it displays the following three filenames
      in the MRU list, each on a new line (not in bold).
      This helps to see what file comes next and how many
      times one has to press ctrl+tab.
      f6be8b47
    • Jiří Techet's avatar
      Rewrite tab switching queue · 0acb273c
      Jiří Techet yazdı
      There was one more bug related to the tab switching. When we switch
      so many times that we return back to the original document (so we
      actually don't switch at all) then the following switch attempt
      doesn't switch immediately to the next document.
      
      After spending two hours thinking what is wrong, I gave up and rewrote
      the whole thing in a different way. The problem with the previous
      implementation was that before you couldn't just look what's in the queue
      "now" - you had to imagine what will be inserted there in the next step
      because the switch_in_progress variable was set after the first switch
      (this is also why I put the long comment why mru_pos = 2 - that is not
      clear at all when you first look at it). Also there were some not very
      nice "workarounds" like the idle function that was executed after the
      switch and removed the double entry on top of the queue.
      
      So with the new implementation things are much simpler IMO. The queue
      starts with the current document and the previously opened documments
      follow. It's *always* like that, no exceptions. The idle function
      is gone and cb_func_switch_tablastused() is simplified too. The rest of
      the functionality should be clear from the code.
      Signed-off-by: 's avatarJiří Techet <techet@gmail.com>
      0acb273c
    • Jiří Techet's avatar
      When closing tab, return to the document at the top of the MRU list · d0892b95
      Jiří Techet yazdı
      This is a pretty frequent work pattern of mine:
      
      1. Editing file A
      2. Searching for function and opening file B
      3. Closing file B because I just wanted to look at the function definition
      4. Without this patch I get to the file following the B's tab (which
      is just a random file) but my brain expects that I get to A
      
      I know it's possible to kind of simulate the behaviour I want with
      the "next to current" placement option but I really don't see a single
      advantage of having tabs closed in sequential order. This is also
      why I didn't make this behaviour optional. But maybe I miss some
      use case of tabs being closed sequentially - just tell me.
      Signed-off-by: 's avatarJiří Techet <techet@gmail.com>
      d0892b95
  8. 21 Ara, 2011 1 kayıt (commit)
    • Nick Treleaven's avatar
      Make 'Replace Spaces by Tabs' only match leading spaces · 0c6aed70
      Nick Treleaven yazdı
      Replacing spaces used for alignment with tabs would often break the
      alignment as tab stop positions were not checked. It's also not
      possible to distinguish between a true space and a single aligning
      space, so we should ignore all spaces outside of indentation.
      0c6aed70
  9. 19 Ara, 2011 3 kayıt (commit)