vnotex / vnotex/vnote

[Editor][Feature]单击行号选择整行

Open
#645 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
13k
Forks
1.3k
Avg merge
14h 3m
Merged PRs (30d)
3

Description

我知道现在可以通过鼠标三击来选择整行,但建议参考 VSCode 的操作方式,鼠标在行号上拖拽就能选择多行。另外行号过于贴近右边缘,留一两个像素的 padding 更好。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the editor's line-number widget and the existing triple-click whole-line selection behavior. Check how line-number mouse events and right-edge spacing are handled. Done means dragging on line numbers selects one or more lines like VSCode, while the line numbers have visible padding from the right edge.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.