Quote:
Originally Posted by KevinH
If F2 even when set in Preferences for External Editor triggers it when keyboard focus is clearly in BookBrowser (and not grabbed back by CodeView) that is a bug by the definition of "keyboard focus". It should be processed and absorbed by BookBrowser.
Please double check that for me. Please try assigning F2 to ExternalEditor in Preferences and restart Sigil. The use focus on BookBrowser key sequence to bring focus to a file in BookBrowser (maybe use arrow keys to select one) then hit F2. It really should allow that file name to be edited. If not, maybe something is broken in Sigil's shortcut processing on your platform.
|
Right - I have rechecked and tried two cases:
1. F2 attributed as a keyboard shortcut but without providing a path to an external editor. Then restart Sigil.
2. F2 attributed as a keyboard shortcut linked to my bluefish editor. Then restart Sigil.
After each restart, I moved the focus about a few times and then moved it to the Browser. I arrowed down to another file and hit F2.
In case #1, nothing happened at all.
In case #2, the external editor was launched to edit the tab which was already open in Code View and NOT the file further down which I had selected with the arrow key.
If, having arrowed down to a file in the Browser, I hit enter to open it in the Code View and then hit F2, bluefish opens with the correct file. Of course, by hitting enter, focus was transferred to the Code View.
So it looks like, in my UbuntuStudio at least, F2 if assigned to an external editor will always try to open the editor. If no editor has been assigned, then nothing happens.
In none of these cases did F2 allow editing of the filename of the selected file in Book Browser, despite Browser having focus.
PS. See my previous post for the rebuild with your TOC mod.