summaryrefslogtreecommitdiffstats
path: root/src/text-editing.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-10-11Initialize some uninitialized variablesMarc Jeanmougin1-1/+1
2019-09-16Improve casts from voids and fix a issue when fill/stroke is unset set ↵Jabier Arraiza1-11/+11
desktop styles with it
2019-09-07fixx flowbox on SVG2 mode using tspansJabiertxof1-0/+2
2019-07-01Fix various minor typosYuri Chornoivan1-1/+1
2019-06-06Refactoring: call setAttribute() directly.Shlomi Fish1-1/+1
Call this->setAttribute(...) directly instead of this->getRepr()->setAttribute(...). This avoids clutter and mental indirection. See http://wiki.inkscape.org/wiki/index.php?title=Refactoring_projects&oldid=112116 and https://en.wikipedia.org/wiki/Law_of_Demeter . --- I hereby disclaim any implicit or explicit ownership of my changes in this changeset, and put them under a multiple licence consisting of your choice of one of more of: - The CC0 / Public Domain - https://creativecommons.org/choose/zero/ . - The MIT / Expat license - https://en.wikipedia.org/wiki/MIT_License - The default licence of your project - The https://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License - version 2.1 or higher - The https://en.wikipedia.org/wiki/GNU_General_Public_License - version 2 or higher - Any licence in the 2018-Aug-27 popular licenses list of https://opensource.org/licenses - The https://en.wikipedia.org/wiki/Apache_License version 2.0 or later - The https://en.wikipedia.org/wiki/Artistic_License version 2.0 or later - The https://en.wikipedia.org/wiki/ISC_license - The https://opensource.org/licenses/BSD-2-Clause Crediting me will be nice, but not mandatory, and you can change the licence of the project without needing my permission.
2019-04-10Prevent segmentation fault when editing flow text missing <flowPara>.Tavmjong Bah1-2/+21
Fixes issue #166.
2019-01-02modernize: add overridesMarc Jeanmougin1-1/+1
2019-01-02modernize loops (2)Marc Jeanmougin1-1/+1
2019-01-02modernize loopsMarc Jeanmougin1-1/+1
2019-01-01Minor style fixesMarc Jeanmougin1-1/+1
2018-11-08Clarify licensesMax Gaukler1-1/+2
- add license headers to everything - convert a few files from public domain or LGPL2.1+ to GPL2+ - some archaeology to clarify which files are from which library
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-80/+80
This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
2018-05-04Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin1-4/+4
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin1-4/+4
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-11/+11
A lot of header clean-up.
2017-08-09Fix keyboard shortcuts for changing line spacing.Tavmjong Bah1-53/+98
Many bug fixes to ensure proper behavior for the different line spacing modes. Return focus to canvas when buttons are pushed in text tool bar. Change step size to a reasonable value for line height when unit not percent. Fix some issues with history for changes to line spacing in flowed text.
2017-04-23Fix crash when modifying text in "Text and Font" dialogEduard Braun1-3/+3
Fixed bugs: - https://launchpad.net/bugs/1618015 (bzr r15632)
2016-08-03Removed unused includes, decreased compilation time. Once againAdrian Boguszewski1-2/+0
(bzr r15034)
2016-07-28Reverted changes to r15024 after many building problemsAdrian Boguszewski1-0/+2
(bzr r15027)
2016-07-28Removed unused includes, decrease compilation timeAdrian Boguszewski1-2/+0
(bzr r15025)
2016-07-14Renamed children list in SPObjectAdrian Boguszewski1-8/+8
(bzr r14954.1.21)
2016-07-14Last part of new SPObject children listAdrian Boguszewski1-6/+3
(bzr r14954.1.20)
2016-07-13Second part of new SPObject children listAdrian Boguszewski1-25/+28
(bzr r14954.1.19)
2015-12-07static code analysisKris De Gussem1-1/+1
(bzr r14509)
2015-07-26Commented out tidy_operator_styled_whitespace (fixes bug 1477723).Marc Jeanmougin1-2/+10
Fixed bugs: - https://launchpad.net/bugs/1477723 (bzr r14258)
2015-02-27corrected the casts (hopefully)Marc Jeanmougin1-1/+1
(bzr r13922.1.10)
2015-02-19Put a few std::vector<SPitem*>Marc Jeanmougin1-2/+2
(bzr r13922.1.5)
2015-02-17At first, I was thinking "I just have to go to the selection file, and ↵Marc Jeanmougin1-4/+3
change that GSList* with a std::list, then resolve the few problems" So, i tried that. And I will continue tomorrow, and the days after, on and on. (bzr r13922.1.1)
2014-12-25Remove sp_style_write_string() and sp_style_write_difference().Tavmjong Bah1-20/+19
(bzr r13822.1.4)
2014-04-05Prevent segfault when style string is null.Tavmjong Bah1-2/+2
(bzr r13270)
2013-10-28"fix" some "unused parameter" warningsKris De Gussem1-6/+6
(bzr r12738)
2013-09-10improve legibilityJohan B. C. Engelen1-5/+5
(bzr r12505)
2013-08-28Improve code readability.Matthew Petroff1-5/+5
(bzr r12475.1.9)
2013-07-31Eliminate "unit-constants.h".Matthew Petroff1-6/+6
(bzr r12380.1.54)
2013-06-19changes_2013_05_22a.patch:David Mathog1-20/+38
1. Resolves issue of bug #988601 message 170 (Support of 'Unset' styles in EMF export). 2. Implements CSS 3 (and CSS 2) text-decoration support. Note that it does not yet provide any method of adding these features - at present it just shows whatever is in the SVG. This new code is also used to display EMF/WMF strike-through and underline text decorations when these files are read in. Those decorations may also be written out to EMF/WMF. Other text decoration features, like overline, or dotted lines, are dropped. For SVG text-decoration -line, -style, -color are all implemented. CSS3 provides two ways to represent the same state, this code uses the compound text-decoration method rather than the 3 fields method. Also it leaves out keywords that are not needed and would break backwards compatibility. For instance: text-decoration: underline solid is valid, but would break CSS2. Solid is the default, so that sort of case is written as: text-decoration: underline If the state is CSS3 specific all of the needed fields are of course include, like text-decoration: underline wavy red 3. It incorporates the fix for bug 1181326 (Text edit mishandles span of just colored spaces) 4. It incorporates further changes to text editing so that style can be changed on spans consisting of only spaces when text decorations are present in the span. 5. It incorporates code to disable text decorations when text so marked is mapped onto a path. 6. Fixed more bugs in Hebrew language support than I can remember. Hebrew language export/import to EMF now works quite well. (See the examples in libTERE v 0.7.) WMF does not support unicode and for all intents and purposes Inkscape has no way to read or write Hebrew to it. Some of more important things that now work that didn't (or didn't always): Hebrew diacritical marks, R/L/center justification, and bidirectional text. The Hebrew fonts "Ezra SIL" and "EZRA SIL SR" should be installed before viewing the libTERE examples, otherwise font substitutions will cause some text shifts. 7. Implemented font failover in Text Reassemble, which makes the process more robust. (Again, see the examples in libTERE. ) (bzr r11668.1.71)
2013-03-19Fixing regressionjtx1-1/+1
(bzr r11950.1.61)
2013-03-17Working with widjetsJabier Arraiza Cenoz1-1/+1
(bzr r11950.1.56)
2013-03-16cppcheckKris De Gussem1-1/+1
(bzr r12217)
2013-02-11A couple of forward declarationsAlex Valavanis1-0/+1
(bzr r12119)
2012-05-26Fix for 903772 : Support --export-text-to-path when outputting plain SVGJohn Smith1-0/+17
(bzr r11418)
2012-02-25(cppcheck and janitorial tasks:) C-style casting to C++-style castingKris De Gussem1-2/+2
(bzr r11011)
2012-02-15cppcheckKris De Gussem1-7/+11
(bzr r10987)
2011-07-17- rename SPItem::i2d_affine to i2dt_affine, to clarify that it is ↵Johan B. C. Engelen1-1/+1
item-to-desktop, not item-to-document. This should make it easier to spot bugs. - tag some instances where the document-to-desktop transform has been hardcoded (bzr r10466)
2011-07-16Cleanup of oudated/redundant SP_ITEM() macro use.Jon A. Cruz1-1/+1
(bzr r10461)
2011-02-21Finished cleanup of outdated SP_OBJECT_PARENT C macro.Jon A. Cruz1-1/+1
(bzr r10064)
2011-02-21Finished cleanup of outated SP_OBJECT_DOCUMENT C macro.Jon A. Cruz1-142/+205
(bzr r10060)
2011-02-02update to latest 2geom !Johan B. C. Engelen1-6/+6
(bzr r10025)
2010-10-21repr wasn't updated immediately after some text editing operations, which ↵Richard Hughes1-7/+9
meant that if the file was immediately saved it might display wrong in other apps (bzr r9840)
2010-10-03Warning cleanup.Jon A. Cruz1-23/+31
(bzr r9811)
2010-08-04Wholesale cruft removal part 3Krzysztof Kosi??ski1-1/+1
(bzr r9508.1.47)