Changeset a556caa for commands.c


Ignore:
Timestamp:
Jul 11, 2009, 1:14:24 PM (15 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
bd1a1ae
Parents:
a45786e
git-author:
Karl Ramm <kcr@1ts.org> (07/07/09 23:03:19)
git-committer:
Nelson Elhage <nelhage@mit.edu> (07/11/09 13:14:24)
Message:
Mostly refactor the editwin to use a linear buffer position.

Use a linear buffer positino to keep track of the point, rather than
(x, y).

In addition, make the editwin structure private to editwin.c. (No
abstraction violation for you!)

Add some abstractions for pointer movement, and use them in some places.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • commands.c

    r73ba824 ra556caa  
    26582658  owl_function_makemsg("Command cancelled.");
    26592659
    2660   if(e->echochar == 0) {
     2660  if(owl_editwin_get_echochar(e) == 0) {
    26612661    hist=owl_editwin_get_history(e);
    26622662    owl_history_store(hist, owl_editwin_get_text(e));
Note: See TracChangeset for help on using the changeset viewer.