Article

Unknown date

11 July 2004, 08:29 UTCDocument Storage

The next question to ask and answer is: how do we internal store a document.

The key issues are:

read more... (No comments)


08 May 2004, 21:08 UTCdiff/patch editor
Another Use Case has occurred to me that I would really like this (hypothetical) editor to be able to support well. That is a diff/patch editor.

The basic idea is that when doing distributed software development, the items that are traded are patches. It is important to be able to work with these effecitively, both including them into ones own source tree, and generating a set of patches to distribute

read more... (No comments)


06 May 2004, 08:24 UTCProgramming Approach

The point of this article is to try to describe the approach to developing an application within this editor.

A substantial motivation for this editor was the (apparent) difficulty in writing applications for EMACS. The difficulty lies in the need to worry about the wrong sort of detail. In EMACS that display is very tightly tied to the buffer contents. It is possible to hide parts of the buffer, and to display parts of the buffer differently, but the level of abstraction seems all wrong. There needs to be a clearer separation between the buffer and the display, with the option of arbitrary programatic conversion from buffer to display.

For this to be achievable without simply introducing a different sort of complexity there needs to be a clear model explaining how things should work.

read more... (No comments)


06 May 2004, 08:02 UTCMore about documents


Many documents consist of just a single file, that can be read into a single document buffer. However this is not always the case.

A good example is a mailbox containing mail to be read. This can sometimes be a single file, but can also be a collection of files, either read from the filesystem or from a network connection such as with POP and IMAP. Another example is an HTML page that contains images. These images are stored in separate files.

read more... (No comments)


03 May 2004, 20:24 UTCParsing Procedure
Parsing of documents needs to happen incrementally, both a high-level parse that just finds major sections, and low-level parses that only do a small local part of the document.

UNFINISHED

read more... (No comments)


30 April 2004, 14:14 UTCDreaming dreams

I had a couple of weeks off recently (parent duty for the school holidays) and spent some of it playing with ideas for a document editor. You can find them under the Dreams link on the right.

I observed about myself a particular flaw in my approach to design. I tend to have grand ideas and try to develop them completely. I often run into difficulties in detail and tend to get bogged down in those details. Instead, I should solve a simple version of the problem and only come back to the more grand scheme once I have more experience with the whole system.

Maybe I will learn from this and not allow "Perfect" to be an enemy of "Good"...

[permalink (No comments)]


25 April 2004, 16:35 UTCDisplay Windows

In the "what to display - Summary" page I introduced "Display Windows" seemingly out of the blue. I should now develop the idea to make sure that it makes sense.

read more... (No comments)


25 April 2004, 16:02 UTCWhat to display - Summary

The way my thoughts seem to be going at the moment, where are three general styles of windows which I shall call Navigation windows, Content windows, and Display windows. Their contents are displayed quite differently.

read more... (No comments)


24 April 2004, 21:24 UTCWhat to display - Information

When deciding what parts of the document to display, and how, a worthy goal is to endeavor to display as much information as possible. (I actually did my undergrad thesis on this question. I never got working code. Maybe now...).

The information content of different parts of the document need to be measuring the context of what the user is currently interested in. i.e. it must be a function of not just the document, but also the cursor.

The common approximation is that content near the cursor contains more information than content distant from the cursor, so content near the cursor is display as much as possible (with allowances for stability).

For plain text, it is hard to do better than this. However for a more structured document, it is tempting to do a lot more.

read more... (No comments)


22 April 2004, 11:27 UTCWhat to display - Stability

The question for this article is: What should be included in the displayed window for a particular document?

We have a document. We have a current point (cursor) in the document. And we have a display area (window) with certain space characteristics (width, height, DPI) and we want to display part of the document, presumably including the part around the point, making best use of the available space.

There are two issues that can guide us. The first is the need for stability in the display : a small change in the document or point should cause a small change in the display. The other is information content : the display should be as informative as possible.

These two issues can conflict, so they need to be assessed together. However both a quite substantial issues and so developing them in parallel is not practical.

In this article we explore the stability issue assuming a very simple information model. In a later article we might explore information content and then blend the two together.

read more... (No comments)



15 April 2004, 10:55 UTCDescribing the layout of a document
12 April 2004, 22:28 UTCCanvas Widget - Take 2
11 April 2004, 22:19 UTCFormatting language for document editor
11 April 2004, 18:28 UTCStructural Outline
11 April 2004, 18:27 UTCCanvas Widget
11 April 2004, 18:26 UTCUse Cases
06 April 2004, 16:01 UTCEntry
31 March 2004, 06:39 UTCThinking about a better Editor
30 March 2004, 06:43 UTCBeyond Spreadsheets
24 March 2004, 17:19 UTCI want a better EMACS




[atom feed]  
[æ]