2014-07-17 15:50:54 +00:00
|
|
|
About the text viewer plugin.
|
2010-06-05 10:30:08 +00:00
|
|
|
|
|
|
|
Limitation
|
2020-11-15 00:20:33 +00:00
|
|
|
for targets where PLUGIN_BUFFER_SIZE < 0x13000,
|
2014-07-17 15:50:54 +00:00
|
|
|
Only 999 pages can be read.
|
2020-11-15 00:20:33 +00:00
|
|
|
|
2010-06-05 10:30:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
Difference between viewer.rock
|
|
|
|
[settings file]
|
|
|
|
- the global setting, 'tv_global.dat' is stored.
|
|
|
|
- Settings and bookmarks for each file, 'tv_file.dat' is stored.
|
|
|
|
|
|
|
|
Note: when viewer.dat(viewer_file.dat) exists, tv_global.dat(tv_file.dat) is created by
|
|
|
|
using viewer.dat(viewer_file.dat).
|
|
|
|
|
2014-07-17 15:50:54 +00:00
|
|
|
[word wrap]
|
2010-06-05 10:30:08 +00:00
|
|
|
- add the following characters which can be split the line.
|
|
|
|
'!', ',', '.', ':', ';', '?',
|
|
|
|
U+00b7, U+2010, U+3000, U+3001, U+3002, U+30fb, U+30fc,
|
|
|
|
U+ff01, U+ff0c, U+ff0d, U+ff0e, U+ff1a, U+ff1b, U+ff1f.
|
|
|
|
|
|
|
|
- when the line split, if the line length is short ( < 0.75 * display width),
|
|
|
|
split the line in display width. (thus, maybe split a word)
|
|
|
|
|
|
|
|
[line mode]
|
|
|
|
[join]
|
|
|
|
- break line condition has changed.
|
|
|
|
- If the next line is a blank line or spaces only line, this line breaks.
|
|
|
|
|
|
|
|
[reflow]
|
2010-06-11 11:13:02 +00:00
|
|
|
- indent changes is two spaces (changable in the settings).
|
2010-06-05 10:30:08 +00:00
|
|
|
|
|
|
|
[bookmark]
|
2014-07-17 15:50:54 +00:00
|
|
|
- increased the number of bookmarks that can be registered to 16.
|
2010-06-05 10:30:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
TODO list
|
2020-11-15 00:20:33 +00:00
|
|
|
- for the target which PLUGIN_BUFFER_SIZE < 0x13000,
|
2014-07-17 15:50:54 +00:00
|
|
|
support more than 999 pages of text.
|
2010-06-05 10:30:08 +00:00
|
|
|
|
|
|
|
- add History feature.
|
|
|
|
|
|
|
|
- draw images that are linked to the text. (<img src="...">)
|
|
|
|
|
|
|
|
- play audios that are linked to the text. (<audio src="...">)
|
|
|
|
|
|
|
|
- more treatments of line breaking, word wrappings.
|
|
|
|
(for example, period does not appear the top of line.)
|