Christoph,
I like your ideas, especially scrolling the text and leaving the controls in place. Then when the scrolling stops, I update the controls to show the values for the lines in view. That way I can get rid of 90+% of my controls!
As for ease of use, I have been rapid prototyping and trying to find easy ways to allow the user to make these edits. To answer one question put to me above, the user must see one or two dozen lines of context to make their decisions for a single line. The decisions are join to previous line, split from previous, delete line, change text of line, identify line as a "See also", a glossary term, an index term, and identify the level of indentation (1, 2, 3 or 4). Basically I am taking semi-structured text (a book index) and adding semantic information. My parser gets most lines right, but since I am converting PDFs into text, weird things happen, the indentation gets screwed up, Unicode characters intrude, headers and footers must be discarded, etc. Thus the user must edit the semantics.
I could just post my results in an XML text editor and let them edit it that way, but I found that to be very hard for a user to do. Reading and editing XML is painful.
Also, directly editing the text won't work because I must store a list of change rules, not the final result. This is because I have two streams of data coming in that must be kept in synch: the text in a single column without indents but in reading order and the text in multiple columns (from which I get the indentation information that drives the computation of level.) The user edits the single column data, and I apply the edits also to the multi-columned data.
- Paul
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.