Commit Graph

33 Commits

Author SHA1 Message Date
Kovid Goyal 591ae6413f ... 2024-09-30 10:17:16 +05:30
Lisa Y. Zhu 39171a6ac6 Change print statements to print functions 2023-11-12 18:19:16 -05:00
Kovid Goyal d2158d75b9 string changes 2023-01-31 12:24:18 +05:30
Christian Clauss 3e81179175 Fix more typos 2021-10-02 17:15:24 +02:00
Kovid Goyal ce4db74039 String changes 2020-09-01 10:39:36 +05:30
Kovid Goyal 9ba6848530 Remove version spec from python docs links 2020-06-21 14:07:42 +05:30
Kovid Goyal 0f8f0bc8a3 String changes 2017-06-17 18:31:43 +05:30
Kovid Goyal f732d03d75 String changes 2017-05-30 13:14:53 +05:30
Kovid Goyal 1c5eeeae83 String changes 2017-04-26 08:16:39 +05:30
Kovid Goyal 6615ee1305 String changes 2017-04-24 13:15:06 +05:30
Kovid Goyal cac4365022 String changes 2017-04-23 21:44:20 +05:30
Kovid Goyal 495f5ddd45 String changes 2017-04-23 16:32:56 +05:30
Kovid Goyal 105d13862d ... 2017-02-27 00:02:41 +05:30
Kovid Goyal c7de9d11e8 Add a link to the forum thread with saved search examples to the manual
Fixes #1667936 [[enhancement] expand builtin functions in regex function mode in the editor](https://bugs.launchpad.net/calibre/+bug/1667936)
2017-02-25 20:54:57 +05:30
Kovid Goyal 4815820f9b Merge branch 'regexfn_result_dialog' of https://github.com/Mymei2/calibre 2016-08-11 09:08:14 +05:30
Mymei 2479e304e9 Configurable suppression of replace result dialog (see 1610658)
This is the second part of the proposal filed originally as bug #1609111.

The result dialog, shown after replacements, slows down book editing in some cases.
For example, when the user repeatedly applies his own regex-function to relatively small pre-marked text fragments.

User should have a choice to suppress the result dialog.

This implementation allows for the following switch inside the user replace function:
replace.suppress_result_dialog = True

This way it nicely fits to the first part (see #1609111) and it allows individual configuration from case to case.
Actually, it's not dependent on the other two switches ('call_after_last_match' and 'append_final_output_to_marked'),
so it can be used in combination with any of them or even individually.

This implementation also should not have any impact on other modes of work and it should not change the previous behavior.
It also should not break the backwards compatibility, I hope.
2016-08-10 19:29:29 +02:00
Kovid Goyal 0cb677fb90 Edit book: Function mode: Allow appending text to the end of the marked text when running function mode search/replace on marked text
Merge branch 'regexfn_return_value' of https://github.com/Mymei2/calibre
2016-08-08 10:03:11 +05:30
Eli Schwartz 95917bfcd1 misc. typos, fix accidental nesting in template docs. 2015-08-28 07:50:51 +05:30
Kovid Goyal 1410194a0d Edit Book Function mode: Add builtin functions to change case of text, ignoring HTML tags in the matched text 2014-12-31 08:39:57 +05:30
Kovid Goyal efcee358da ... 2014-11-28 23:48:41 +05:30
Kovid Goyal 728f82cf44 Edit Book: Search & Replace function mode: Add a new function annotation (replace.file_order) to control what order multiple files are processed in, when doing Replace All. See the User Manual for details. 2014-11-23 13:14:31 +05:30
Kovid Goyal 584e427b72 ... 2014-11-21 18:48:03 +05:30
Kovid Goyal 664739f791 ... 2014-11-21 18:47:13 +05:30
Kovid Goyal 6080316bd9 ... 2014-11-21 18:45:20 +05:30
Kovid Goyal 80ed173b44 ... 2014-11-21 18:37:33 +05:30
Kovid Goyal 99d7d8dd6f Make the find expression for auto-numbering a little more general 2014-11-21 17:47:56 +05:30
Kovid Goyal 957ca644b2 ... 2014-11-20 15:21:06 +05:30
Kovid Goyal 1755ed2c7a Finish documenting the function mode for S&R 2014-11-20 15:20:22 +05:30
Kovid Goyal 7a20ad2f5a An example showing how to use function mode to auto create a Table of Contents 2014-11-20 12:53:47 +05:30
Kovid Goyal 1cf54a9253 Add an example of auto-numbering for sections 2014-11-20 09:56:46 +05:30
Kovid Goyal 89204f8002 Handle HTML entities in the example replace function 2014-11-20 09:32:17 +05:30
Kovid Goyal 35406e21d8 ... 2014-11-19 22:18:03 +05:30
Kovid Goyal 2349f4507a Start documenting the new function mode 2014-11-19 22:14:40 +05:30