|
|
@ -465,6 +465,16 @@ common_settings.document = {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
text = _("End of document action"),
|
|
|
|
text = _("End of document action"),
|
|
|
|
sub_item_table = {
|
|
|
|
sub_item_table = {
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
text = _("Always mark as read"),
|
|
|
|
|
|
|
|
checked_func = function()
|
|
|
|
|
|
|
|
return G_reader_settings:isTrue("end_document_auto_mark")
|
|
|
|
|
|
|
|
end,
|
|
|
|
|
|
|
|
callback = function()
|
|
|
|
|
|
|
|
G_reader_settings:flipNilOrFalse("end_document_auto_mark")
|
|
|
|
|
|
|
|
end,
|
|
|
|
|
|
|
|
separator = true,
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
text = _("Ask with pop-up dialog"),
|
|
|
|
text = _("Ask with pop-up dialog"),
|
|
|
|
checked_func = function()
|
|
|
|
checked_func = function()
|
|
|
@ -562,7 +572,7 @@ common_settings.document = {
|
|
|
|
return G_reader_settings:isTrue("highlight_action_on_single_word")
|
|
|
|
return G_reader_settings:isTrue("highlight_action_on_single_word")
|
|
|
|
end,
|
|
|
|
end,
|
|
|
|
callback = function()
|
|
|
|
callback = function()
|
|
|
|
G_reader_settings:flipNilOrFalse("highlight_action_on_single_word", nil)
|
|
|
|
G_reader_settings:flipNilOrFalse("highlight_action_on_single_word")
|
|
|
|
end,
|
|
|
|
end,
|
|
|
|
separator = true,
|
|
|
|
separator = true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|