Issue 142: Cannot have multiple windows of the same buffer with 
different insert positions for each window.
http://code.google.com/p/yi-editor/issues/detail?id=142

Comment #2 by JeanPhilippe.bernardy:
I believe the buffer operations ran with a dummy window should never 
move a point or
change the text; basically they should be readonly.

As for the general implementation scheme; I would do something 
different I think:
  * keep a single "pointMark" for the purpose of all buffer operations;
  * keep a mark in each window;
  * when a window is focused: pointMark := window's mark
  * when a Buffer operation completes: window's mark := pointMark

This supports closing all windows on a buffer and remember the mark, as 
required for
emacs-like behaviour.





-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to