Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • inkscape inkscape
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,526
    • Issues 1,526
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 135
    • Merge requests 135
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Scheduled maintenance on the database layer will take place on 2022-07-02. We expect GitLab.com to be unavailable for up to 2 hours starting from 06:00 UTC. Kindly follow our status page for updates and read more in our blog post.

  • Inkscape
  • inkscapeinkscape
  • Merge requests
  • !3551

Fix find and replace if text has description, nested tspans

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Nathan Lee requested to merge nathanal/inkscape:inkscape2838 into master Oct 03, 2021
  • Overview 3
  • Commits 2
  • Pipelines 5
  • Changes 2

First commit

Text in <description> or <title> should be ignored when find and replacing text.

Fix #2838 (closed)

Mismatch between the text you find and the one you replace causes the bug in #2838 (closed)

Second commit

Fix find and replace with nested tspans

Also other fixes where sp_te_get_string_multiline(SPItem*) used,
as extra newlines/spaces were generated in this function,
compared to Layout and the other sp_te_get_string_multiline function.

#1571 (closed)

Review of places where sp_te_get_string_multiline(SPItem*) is used.

  1. Find and replace dialog: new behavior correct
  2. text-edit.cpp: New behavior correct (Text and Font dialog preview no longer adds newline for style changes
  3. GlyphsPanel::insertText in glyphs.cpp : New behavior more correct, doesn't add new lines when hitting append. The subscript is still lost in both cases though.
  4. text_unflow in text-chemistry.cpp : New behavior more correct, no added spaces with tspans
Edited Oct 03, 2021 by Nathan Lee
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: inkscape2838