giuspen / cherrytree

cherrytree
https://www.giuspen.net/cherrytree/
Other
3.29k stars 457 forks source link

Copy node link and paste into another CT document - what's actually supposed to happend ? #2440

Open Groberen opened 5 months ago

Groberen commented 5 months ago

Is your feature request related to a problem? Please describe. Windows 10 / Cherrytree version 1.0.4

Assuming I do this:

The observed result In this particular case, document2.ctb is much larger and have some 30 times more nodes than document1.ctb. The newly pasted link made CherryTree to jump to a seemingly random node in the same document.

I.e. inconsistent behavior.

Describe the solution you'd like I can only see two possible ways this can be improved:

  1. Allow CherryTree to link to nodes and anchors located in another CT file (must be a check if that file and that node/anchor exists).
  2. If no. 1 is not possible - refuse to insert links if copied from another CherryTree file.