Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • K KTextEditor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FrameworksFrameworks
  • KTextEditor
  • Merge requests
  • !75

avoid full line selection painting, more in line with other editors

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Christoph Cullmann requested to merge work/no_full_line_selections_and_co into master Jan 17, 2021
  • Overview 13
  • Commits 3
  • Pipelines 0
  • Changes 1

Only draw selection/backgrounds for actually existing text.

This simplifies the code a lot.

Looks more like other popular editors.

One could think about painting the small gap in the iconborder in selection color later depending if we are selected from previous line.

@waqar @dhaumann @ngraham

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/no_full_line_selections_and_co