11-18-2014, 03:28 PM | #1 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Function mode in editor S&R -- coming soon
Yes, yes, YESSSSS!!!
It is finally here! The first commit was six hours ago! By this Friday, we should finally have the ability to use functions in Search & Replace. Kovid! |
11-19-2014, 11:04 PM | #2 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You're welcome The implementation is complete, so feel free to play with it, if you run from source.
EDIT: There is some (incomplete) documentation here: https://github.com/kovidgoyal/calibr...ction_mode.rst Last edited by kovidgoyal; 11-19-2014 at 11:27 PM. |
Advert | |
|
11-20-2014, 12:02 AM | #3 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Yep, I saw it.
TBH, I don't really do a lot of fancy stuff with the editor. I just think it is cool, and of course, many people will appreciate this far more than I. People who do a lot of hardcore editing. I can probably think of a few things I'd like to do, given the time, though. Last edited by eschwartz; 11-20-2014 at 01:37 AM. |
11-20-2014, 12:40 AM | #4 |
Grand Sorcerer
Posts: 6,235
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Thank you, I use regex a lot but not functions usually. Anyway, it can be useful at any moment.
|
11-20-2014, 03:22 AM | #5 |
Interested in the matter
Posts: 421
Karma: 426094
Join Date: Dec 2011
Location: Spain, south coast
Device: Pocketbook InkPad 3
|
Kovid, thanks for this wonder.
I can't wait to try it. |
Advert | |
|
11-20-2014, 09:03 AM | #6 | |
Wizard
Posts: 1,073
Karma: 412718
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
Ditto all the above
BTW, in the (incomplete) documentation, the links like ... Quote:
I was especially liking the 'headings to Title Case' and the 'Auto Number sections'. Those by themselves will save me loads of time I hope some of the really smart people here in MR will do a 'For Dummies' for people like me who are python-challenged. I have the basics of RE but I was struggling to understand the first example Last edited by phossler; 11-20-2014 at 09:09 AM. |
|
11-20-2014, 10:13 PM | #7 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That is not a link to the final documentation (it's just a quick pre-render), the final documentation will be in the User Manual, and those issues will go away. There will be a link to the documentation in the What's new page announcing this feature.
|
11-20-2014, 10:22 PM | #8 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Gotta say I like the look of the numering thing. If only I had it when converting a 231-item ordered list to numbered paragraphs, which I eventually did with while read line echo...
|
11-21-2014, 08:01 AM | #9 | |
Wizard
Posts: 1,073
Karma: 412718
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
Quote:
2. BTW, the User's Manual is probably one of the best around. a. Organized towards the user using it instead of a 'Programmers Notebook' structure b. Readable, and occasionally entertaining |
|
11-21-2014, 08:08 AM | #10 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You're welcome I find having good documentation saves me lots of time answering questions.
|
11-21-2014, 08:11 AM | #11 |
Bookish
Posts: 907
Karma: 1803094
Join Date: Jun 2011
Device: PC, t1, t2, t3, aura 2 v1, clara HD, Libra 2, Nxtpaper 11
|
True, now just convincing people to RTFM
That's the hard part |
11-21-2014, 08:21 AM | #12 |
Grand Sorcerer
Posts: 12,172
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Maybe time for a new sticky thread of useful to templates / expressions.
|
11-21-2014, 08:26 AM | #13 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Go To Page function ever coming to original Kobo? | BongoBong | Kobo Reader | 10 | 06-07-2011 06:38 AM |
Can the kindle 3 be used as a text editor with copy/paste function somehow? | kinkle | Amazon Kindle | 3 | 05-19-2011 10:50 AM |
Touch Screen No Longer Responds After Coming Out Of Locked Mode | casualt | enTourage Archive | 10 | 04-13-2010 06:52 PM |
Fantasy Eliot, Charles W. (editor): Harvard Classics 33: Voyages & Travels: Ancient & Modern. | RWood | IMP Books | 0 | 12-08-2007 10:42 PM |
Fantasy Eliot, Charles W. (editor): Harvard Classics 33: Voyages & Travels: Ancient & Modern. | RWood | BBeB/LRF Books | 1 | 06-04-2007 10:03 AM |