vnotex / vnotex/vnote

编辑模式和浏览模式相互切换的时候,无法定位到相同的行

Open
#684 4 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,

VNote Version (Help - About VNote - Version: )(VNote版本): 2.2, d78e892d5cc etc..

Symptoms (表现):
在浏览模式下,浏览到A行,想修改A+5行的内容,切换到编辑模式的时候,页面并不会一定定位在A行,而有可能定位在上次编辑的行.

同样 ,从编辑模式返回浏览模式 时候,也会不一定定位到当前编辑完成的行的情况.

这样在浏览和编辑模式频繁切换的时候,就会时常要频繁查找上次浏览和编辑到的位置.

How to Repro (如何复现):

浏览到A行, 鼠标右键,切换编辑模式.

编辑到A+10行后, 鼠标右键,返回浏览模式. 当前浏览的行,并不是 A+10行.

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 issue on Windows with VNote 2.2 by switching between browsing and editing at different lines. Trace the edit-mode and browse-mode transition handling, then verify that the current line is preserved in both directions.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.