mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-06 03:50:19 +02:00
text selection feature is delayed
git-svn-id: https://only.mawhrin.net/repos/FBReaderJ/trunk@810 6a642e6f-84f6-412e-ac94-c4a38d5a04b0
This commit is contained in:
parent
83e27b01ac
commit
416ffc8397
4 changed files with 10 additions and 13 deletions
8
TODO
8
TODO
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
ZLTextView:
|
ZLTextView:
|
||||||
DONE пометки (для найденных строк и т.п.)
|
DONE пометки (для найденных строк и т.п.)
|
||||||
2 выделение текста мышкой
|
DELAYED выделение текста мышкой
|
||||||
2 прокрутка текста мышкой
|
2 прокрутка текста мышкой
|
||||||
переход по ссылкам
|
переход по ссылкам
|
||||||
DONE внутренним
|
DONE внутренним
|
||||||
|
@ -133,9 +133,9 @@ DONE ActionCode.SHOW_BOOK_INFO
|
||||||
1 ActionCode.OPEN_PREVIOUS_BOOK
|
1 ActionCode.OPEN_PREVIOUS_BOOK
|
||||||
1 ActionCode.GOTO_NEXT_TOC_SECTION
|
1 ActionCode.GOTO_NEXT_TOC_SECTION
|
||||||
1 ActionCode.GOTO_PREVIOUS_TOC_SECTION
|
1 ActionCode.GOTO_PREVIOUS_TOC_SECTION
|
||||||
2 ActionCode.COPY_SELECTED_TEXT_TO_CLIPBOARD
|
DELAYED ActionCode.COPY_SELECTED_TEXT_TO_CLIPBOARD
|
||||||
2 ActionCode.OPEN_SELECTED_TEXT_IN_DICTIONARY
|
DELAYED ActionCode.OPEN_SELECTED_TEXT_IN_DICTIONARY
|
||||||
2 ActionCode.CLEAR_SELECTION
|
DELAYED ActionCode.CLEAR_SELECTION
|
||||||
|
|
||||||
другое:
|
другое:
|
||||||
DONE поиск
|
DONE поиск
|
||||||
|
|
|
@ -27,9 +27,6 @@
|
||||||
- <node name="percentToScroll" value="Сколько процентов сдвигать"/>
|
- <node name="percentToScroll" value="Сколько процентов сдвигать"/>
|
||||||
- <node name="fingerOnly" value="Только при нажатии пальцем"/>
|
- <node name="fingerOnly" value="Только при нажатии пальцем"/>
|
||||||
- </node>
|
- </node>
|
||||||
<node name="Selection" value="Пометка">
|
|
||||||
<node name="enableSelection" value="Разрешить помечать текст"/>
|
|
||||||
</node>
|
|
||||||
- <node name="Format" value="Форматирование">
|
- <node name="Format" value="Форматирование">
|
||||||
- <node name="optionsFor" value="Настройки для"/>
|
- <node name="optionsFor" value="Настройки для"/>
|
||||||
- <node name="lineSpacing" value="Интервал">
|
- <node name="lineSpacing" value="Интервал">
|
||||||
|
|
|
@ -103,9 +103,9 @@ public class KeyBindingsPage {
|
||||||
addAction(ActionCode.REDO);
|
addAction(ActionCode.REDO);
|
||||||
|
|
||||||
// selection
|
// selection
|
||||||
addAction(ActionCode.COPY_SELECTED_TEXT_TO_CLIPBOARD);
|
//addAction(ActionCode.COPY_SELECTED_TEXT_TO_CLIPBOARD);
|
||||||
addAction(ActionCode.OPEN_SELECTED_TEXT_IN_DICTIONARY);
|
//addAction(ActionCode.OPEN_SELECTED_TEXT_IN_DICTIONARY);
|
||||||
addAction(ActionCode.CLEAR_SELECTION);
|
//addAction(ActionCode.CLEAR_SELECTION);
|
||||||
|
|
||||||
// search
|
// search
|
||||||
addAction(ActionCode.SEARCH);
|
addAction(ActionCode.SEARCH);
|
||||||
|
|
|
@ -42,8 +42,8 @@ public class OptionsDialog {
|
||||||
|
|
||||||
new ScrollingOptionsPage(myDialog.createTab("Scrolling"), fbreader);
|
new ScrollingOptionsPage(myDialog.createTab("Scrolling"), fbreader);
|
||||||
|
|
||||||
ZLDialogContent selectionTab = myDialog.createTab("Selection");
|
//ZLDialogContent selectionTab = myDialog.createTab("Selection");
|
||||||
selectionTab.addOption("enableSelection", FBView.selectionOption());
|
//selectionTab.addOption("enableSelection", FBView.selectionOption());
|
||||||
|
|
||||||
ZLDialogContent marginTab = myDialog.createTab("Margins");
|
ZLDialogContent marginTab = myDialog.createTab("Margins");
|
||||||
marginTab.addOptions(
|
marginTab.addOptions(
|
||||||
|
@ -70,7 +70,7 @@ public class OptionsDialog {
|
||||||
ZLColorOptionBuilder builder = new ZLColorOptionBuilder();
|
ZLColorOptionBuilder builder = new ZLColorOptionBuilder();
|
||||||
final String BACKGROUND = resource.getResource("background").getValue();
|
final String BACKGROUND = resource.getResource("background").getValue();
|
||||||
builder.addOption(BACKGROUND, baseStyle.BackgroundColorOption);
|
builder.addOption(BACKGROUND, baseStyle.BackgroundColorOption);
|
||||||
builder.addOption(resource.getResource("selectionBackground").getValue(), baseStyle.SelectionBackgroundColorOption);
|
//builder.addOption(resource.getResource("selectionBackground").getValue(), baseStyle.SelectionBackgroundColorOption);
|
||||||
builder.addOption(resource.getResource("text").getValue(), baseStyle.RegularTextColorOption);
|
builder.addOption(resource.getResource("text").getValue(), baseStyle.RegularTextColorOption);
|
||||||
builder.addOption(resource.getResource("internalLink").getValue(), baseStyle.InternalHyperlinkTextColorOption);
|
builder.addOption(resource.getResource("internalLink").getValue(), baseStyle.InternalHyperlinkTextColorOption);
|
||||||
builder.addOption(resource.getResource("externalLink").getValue(), baseStyle.ExternalHyperlinkTextColorOption);
|
builder.addOption(resource.getResource("externalLink").getValue(), baseStyle.ExternalHyperlinkTextColorOption);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue