Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On 04/01/11 23:43, Christoph Noack wrote:
The main issue is, that we do have two different input methods (one
being WYSIWYG, the other one being the formula syntax) that have to be
synced somehow. The content itself isn't the main problem, but things
like cursor position and selection. We can only have one, because this
corresponds with the current focus that is visualized for the user.

So here is some initial idea that might serve as some input to solve
that issue. It already implies some step-by-step approach to achieve
reasonable maturity:

Diving in as usual (and possibly missing the point.. :-) Have you played
with WordPerfect which - iiuc - has EXACTLY this issue syncing the
wysiwyg and reveal-codes windows.

A mouse click in the wysiwyg window places the cursor at that point and
makes that the active window. A mouse click in the rc window places the
mouse cursor at that point and makes that the active window. Bear in
mind the rc window has extra "characters", ie the formatting codes. If
the rc window is active the cursor keys move in that window, updating
the wysiwyg window if appropriate. If wysiwyg is active, the cursor keys
move in that window, jumping multiple "characters" in rc if appropriate.

This obviously all depends on the two windows being able to update each
other in sync (I gather that would be a nightmare in Writer :-(, but if
it's possible, then imho that would be the perfect way to do it - the
mouse swaps focus between windows - the active window eats and processes
the keyboard - and the inactive window is updated in real time by the
active one.

Cheers,
Wol

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.