> 2026/01/27 20:53、Jean-Marc Lasgouttes <[email protected]>のメール:
> 
> Le 20/01/2026 à 07:05, Koji Yokota a écrit :
>> 2026/01/19 20:10、Jean-Marc Lasgouttes <[email protected]>のメール:
>>> 
>>> What I do not really understand, is why the input method object hold a 
>>> pointer to a cursor instead of a buffer view.
>> Pointer to the cursor is needed since input method is now relevant to 
>> contents of text.
> 
> I return to this argument. My point is that you do not want a copy of the 
> buffer view's cursor (because it may become out of date) but a reference to 
> it, either via a Cursor & variable, or a reference to the buffer view that 
> holds the cursor. Then, as long as you manage to track buffer view changes, 
> you should be safe.
> 
> We already have mechanisms to ensure that the BV cursor is correct, I do not 
> see the need to implement this a second time.
> 
> What do I miss?

No, we have pointers for BufferView and its Cursor. They are not set as 
references since they are not initialized when GuiView and GuiInputMethod 
started.

Koji
-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to