Reputation
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
10 18
Impact
~283k people reached

Dec
31
revised What data structure could a word processor use to map the user's caret position/text selection to its internal representation of the document?
deleted 185 characters in body
Dec
31
revised What data structure could a word processor use to map the user's caret position/text selection to its internal representation of the document?
added 10 characters in body
Dec
28
revised What data structure could a word processor use to map the user's caret position/text selection to its internal representation of the document?
edited title
Dec
27
revised Why is software schedule estimation so hard?
added 142 characters in body
Dec
27
revised What data structure could a word processor use to map the user's caret position/text selection to its internal representation of the document?
edited tags
Dec
27
revised Are there any programming languages that follow a minimalist development approach?
added 223 characters in body
Dec
27
revised What data structure could a word processor use to map the user's caret position/text selection to its internal representation of the document?
edited title
Dec
27
answered Are there any programming languages that follow a minimalist development approach?
Dec
27
comment What data structure could a word processor use to map the user's caret position/text selection to its internal representation of the document?
@Brad: I haven't used those, but that document looks well worth a read.
Dec
27
comment What data structure could a word processor use to map the user's caret position/text selection to its internal representation of the document?
Answer to a possibly related question here: stackoverflow.com/questions/15649/…
Dec
27
revised What data structure could a word processor use to map the user's caret position/text selection to its internal representation of the document?
edited title
Dec
27
comment What data structure could a word processor use to map the user's caret position/text selection to its internal representation of the document?
@MichaelT: yup, those were the chapters I looked at. They specifically deal with how to store the elements of a document as objects, and how to design their APIs so that they can render themselves. It doesn't discuss how to map the user's caret position/text selection to the document representation.
Dec
27
comment What data structure could a word processor use to map the user's caret position/text selection to its internal representation of the document?
@MichaelT: it does indeed, that was my first thought too. I couldn't find any examples in it related to this particular question, although I should take another look.
Dec
27
revised What data structure could a word processor use to map the user's caret position/text selection to its internal representation of the document?
edited tags
Dec
27
comment What data structure could a word processor use to map the user's caret position/text selection to its internal representation of the document?
Gotcha. Do you have any examples of data structures that might be used for this mapping?
Dec
27
comment What data structure could a word processor use to map the user's caret position/text selection to its internal representation of the document?
Sure: my question though is about how to keep track of the link between the tree representation and the text displayed to the user.
Dec
27
revised What data structure could a word processor use to map the user's caret position/text selection to its internal representation of the document?
added 194 characters in body
Dec
27
asked What data structure could a word processor use to map the user's caret position/text selection to its internal representation of the document?
Dec
20
comment What to do when a sprint is finished early?
Same thing you do when your code's compiling: xkcd.com/303
Oct
25
awarded  Popular Question