Commit Graph

29941 Commits

Author SHA1 Message Date
Kovid Goyal 99d7d8dd6f Make the find expression for auto-numbering a little more general 2014-11-21 17:47:56 +05:30
Kovid Goyal 288c3a285f ... 2014-11-21 17:46:28 +05:30
Kovid Goyal 872827f817 Consistent package name for smarts 2014-11-21 14:50:03 +05:30
Kovid Goyal 8e287bfac2 Allow smarts to override the tab stop width in the editor 2014-11-21 14:45:31 +05:30
Kovid Goyal 719a83584f Move the python editing key handling into the python smarts module so that it is available for all text edit instances 2014-11-21 14:39:13 +05:30
Kovid Goyal d68ecaf264 ... 2014-11-21 14:32:05 +05:30
Kovid Goyal ad2ffc8fe2 ... 2014-11-21 14:23:12 +05:30
Kovid Goyal 2dff34fab4 ... 2014-11-21 14:21:11 +05:30
Kovid Goyal 67a168edae ... 2014-11-21 14:19:43 +05:30
Kovid Goyal c40483eb86 Load all syntax related code on demand 2014-11-21 14:15:20 +05:30
Kovid Goyal 4d7da61387 Move special handling of keypresses into the syntax dependent smarts modules 2014-11-21 14:02:56 +05:30
Kovid Goyal 7aa1f5e54f ... 2014-11-21 13:35:10 +05:30
Kovid Goyal ee06db6ff8 Edit Book: Add syntax highlighting for javascript 2014-11-21 13:29:28 +05:30
Kovid Goyal 388083e92f ... 2014-11-21 13:28:59 +05:30
Kovid Goyal 33af80f8bb Add a javascript syntax highlighter 2014-11-21 13:16:56 +05:30
Kovid Goyal adc6a173a5 oops 2014-11-21 12:27:26 +05:30
Kovid Goyal 01f9a4a330 Dont crash if pygments raises an exception 2014-11-21 12:23:25 +05:30
Kovid Goyal 022c1ed445 Make the Pygments<->Qt glue faster and also fix handling of EOL 2014-11-21 12:03:11 +05:30
Kovid Goyal 3e8bf6d586 ... 2014-11-21 12:00:42 +05:30
Kovid Goyal ca534b9919 Refactor the pygments based highlighter so that the plumbing connecting pygments to Qt can be re-used 2014-11-21 10:31:54 +05:30
Kovid Goyal 6f539330f4 ... 2014-11-21 09:51:53 +05:30
Kovid Goyal ba329fa521 version 2.11 v2.11.0 2014-11-21 08:21:26 +05:30
Kovid Goyal cc4452f072 Prevent misbehaving plugins that delete shortcut actions without unregistering them from causing crashes 2014-11-21 07:59:17 +05:30
Kovid Goyal 95d9151a5c Refactor the pygments util function into their own module
Ensures that cdiff does not fail if pygments is unavailable
2014-11-20 23:04:36 +05:30
Kovid Goyal 66bfe1797b Do not use the pygments based highlighter if the user does not have pygments (will happen on some linux distros and for people running from source who dont update the binary) 2014-11-20 22:58:44 +05:30
Kovid Goyal cabc1280f8 Add smart-indent to the python code editor 2014-11-20 22:51:56 +05:30
Kovid Goyal 36deae13e9 Nicer editor widget for editing S&R functions 2014-11-20 22:00:35 +05:30
Kovid Goyal 64b9a921ab A syntax highlighter for python using pygments 2014-11-20 21:53:43 +05:30
Kovid Goyal d588010b39 Add pygments to the binary builds 2014-11-20 18:17:52 +05:30
Kovid Goyal 247e4ec674 Fix completion worker stdout handling on windows 2014-11-20 17:20:44 +05:30
Kovid Goyal 78a5c3fd0f Refactor for re-use 2014-11-20 17:20:27 +05:30
Kovid Goyal c356e09dcf Fix regression in 2.10 that caused printing to stdout/stderr in FileType plugins to not work when running using calibre-debug -g in a windows console 2014-11-20 17:02:46 +05:30
Kovid Goyal 38fe10d9f9 Fix Ctrl-R while in debug mode not restarting in debug mode properly 2014-11-20 15:29:52 +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 fe66042bc6 Make the functions namespace a little easier to use 2014-11-20 15:20:09 +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 3074d11ce5 ... 2014-11-20 12:53:22 +05:30
Kovid Goyal 47b0baae85 Allow S&R funcs to specify they would like to be called once after all matches are found 2014-11-20 11:23:11 +05:30
Kovid Goyal cf42295fc5 Refactor ToC generation code to make it re-useable 2014-11-20 11:22:29 +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 00ea2cc4a4 DOCX Input: Add support for multilingual documents. Fixes #1394428 [docx driver doesn't handle different languages](https://bugs.launchpad.net/calibre/+bug/1394428) 2014-11-20 08:27:06 +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
Kovid Goyal c983f4f999 Fix a regression in 2.10 that caused changes in Preferences->Adding books to not work for the next immediate add 2014-11-19 21:27:03 +05:30
Kovid Goyal d040139f57 ... 2014-11-19 21:06:33 +05:30
Kovid Goyal b18d693ba2 Show output from print() calls in S&R functions 2014-11-19 17:53:19 +05:30
Kovid Goyal 48a701012c Handle HTML entities in the builtin S&R funcs 2014-11-19 15:36:51 +05:30
Kovid Goyal ef3509ebc5 Finish implementation of function mode for the editor 2014-11-19 15:02:59 +05:30