vnotex / vnotex/vnote

拖动文字时的bug

Open
#932 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

OS Version (操作系统): Windows 7

VNote Version (Help - About VNote - Version: )(VNote版本): 2.7.1

Symptoms (表现):

把一行文字中选中的部分拖动到另一行时,前一行的文字可能会丢失。

How to Repro (如何复现):

两行文字,如下:

##### 第一行
第二行文字。

用鼠标选中“第二”几个字,拖动到几个#的前面,放开鼠标。文字会变成这样:

第二##### 第一行
[一个空行]

第二行剩下的“行文字。”几个字符丢失了。

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

Reproduce the drag-and-drop case on Windows 7 using the two lines and selected text described in the issue. Start by tracing the editor's text drag-and-drop handling; done means moving “第二” before the hashes without losing the remaining “行文字。” or leaving an unintended empty line.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
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.