Menu

#615 feature #534 Flag for an open Backup File

None
closed-accepted
None
5
2018-01-26
2018-01-11
No

Introduces Buffer's isBackup() function, marks backup file with yellow in BufferSwitcher, adds confirmation on such file open (open/open locked/cancel).

Simple and ready, it is worth inclusion in release I guess.

1 Attachments

Discussion

  • Dale Anson

    Dale Anson - 2018-01-25
    • status: open --> closed-accepted
    • assigned_to: Dale Anson
    • Group: -->
     
  • Dale Anson

    Dale Anson - 2018-01-25

    Applied in revision 24820, thanks! A couple of things -- not a big deal, but in the future, pay attention to the bracket placement so it matches the rest of the code. I also added a little code so the lock icon shows in the buffer switcher when the buffer is locked.

     
  • Roman Tsourick

    Roman Tsourick - 2018-01-26

    Cool. Thank you!

    I used to be the style rules maniac, but this time I missed that, dunno why.

    I was thinking about the icon, but refused that idea because it will override the dirty status in a scenario when a user modifies buffer first and then locks it.

    Could you explain the EditBus.send() call?

     

    Last edit: Roman Tsourick 2018-01-26

Log in to post a comment.