Closed GoogleCodeExporter closed 9 years ago
Original comment by Strahinja.Markovic@gmail.com
on 14 Mar 2011 at 10:05
Original comment by Strahinja.Markovic@gmail.com
on 21 Jul 2011 at 9:43
Patch attached adding controls/keyboard shortcuts to open previous/next file in
the book browser relative to the file currently in the selected tab.
Original comment by meme90...@gmail.com
on 23 Dec 2011 at 10:31
Attachments:
The attached patch has a few issues.
1) I don't think the buttons at the bottom of the window are necessary.
2) Open an image file, click the next or previous file button or use the menu
item and Sigil crashes.
3) Since we're only dealing with defined directions it would be better to use
an enumeration where the directions are members. Look at FindText in
FindReplace.
4) What should be the action to take when the person has an image or other type
of file open? Should it do nothing, go to a text file, go to the next item of
the item type?
Original comment by john@nachtimwald.com
on 1 Jan 2012 at 1:31
1) Without the buttons there's no obvious sign to the user that the
functionality exists. OK, there are Window menu items with keyboard shortcuts,
but they might not be easily discoverable or preferred for some users. I think
feedback from people who might use the feature would be helpful.
2) Sounds like a bit more testing is needed :) Glad you caught this.
3) ok
4) This was originally about moving through the text files, but given the image
issue in 2, and that there will be other file types, I'll need to review this.
I'm leaning towards moving through the complete list of files/types.
Original comment by meme90...@gmail.com
on 1 Jan 2012 at 4:44
New completely rewritten patch - includes 2 separate issues due to heavily
shared code
1. Open previous/next file with buttons/shortcuts
- Adds two buttons on main window and keyboard shortcuts for previous/next file
- Opens the previous/next file in the book browser relative to the currently
opened tab
- Only moves to previous/next in same entry type and only for Text, Style,
Images
- Does not wrap around when it reaches the start/end of a section to avoid
getting 'lost'
- Uses the OPFModel item lists instead of the original incorrect resource lists
- Moves bulk of work to OPFModel
2. Select/highlight newly opened/activated tabs in the book browser
- Selects/highlights entries in the book browser corresponding to newly opened
tabs or newly activated tabs
- Handles removal of files/merge with previous
- Supports previous/next actions by tracking the current tab in the book browser
- Supports issue 1135 which opens a blank/merged entry in a new tab by
highlighting it
- Still allows for manually selecting entries in book browser
- Automatically scrolls/expands browser as necessary
Possible issues
- If you click the current tab header the selection is not updated (suggestions
on how to capture correct mouse click?)
- Windows Menu entry doesn't show key shortcuts like Close Tab although they do
work and can be changed
Original comment by meme90...@gmail.com
on 11 Jan 2012 at 12:23
Patch.
Original comment by meme90...@gmail.com
on 11 Jan 2012 at 1:11
Attachments:
New patch changing the functionality slightly:
- move previous or next relative to the selected entry in the book browser
instead of current tab
- moved buttons from next to zoom on main window to the bottom of the book
browser
- changed buttons to up/down to be consistent with book browser
- moved all functionality from main window to book browser
Original comment by meme90...@gmail.com
on 11 Jan 2012 at 8:13
Attachments:
Original comment by meme90...@gmail.com
on 24 Jan 2012 at 7:46
Original comment by john@nachtimwald.com
on 28 Jan 2012 at 2:08
Original comment by daveheil...@gmail.com
on 19 May 2012 at 3:20
Original issue reported on code.google.com by
ibl...@gmail.com
on 14 Mar 2011 at 1:45