Changes between Version 4 and Version 5 of CocoaIde/FontSupport


Ignore:
Timestamp:
Feb 4, 2009, 6:56:12 PM (10 years ago)
Author:
gz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CocoaIde/FontSupport

    v4 v5  
    22{{{
    33#!html
    4 <font color="red"><b>This document describes a proposal for comment and review.  It is not
     4<p><font color="red"><b>This document describes a proposal for comment and review.  It is not
    55actually implemented anywhere.</b></font>
    66}}}
     
    7575`(NEXT-CHARPROP-VALUE mark name &key view)`
    7676
    77  Returns the value of property `name` in the character after `mark`.  If `view` is specified, first looks in
    78 view properties for `view`, then in buffer properties.
     77Returns the value of property `name` in the character after `mark`.  If `view` is specified, first looks in view properties for `view`, then in buffer properties.
    7978
    8079`(PREVIOUS-CHARPROP-VALUE mark name &key view)`
    8180
    82  Returns the value of property `name` in the character before `mark`.  If `view` is specified, first looks in
    83 view properties for `view`, then in buffer properties.
     81Returns the value of property `name` in the character before `mark`.  If `view` is specified, first looks in view properties for `view`, then in buffer properties.
    8482
    8583`(SET-CHARPROP-VALUE mark name value &key count end view)`
     
    9290The default is  `:count 1`.
    9391
    94 If `view` is specified, sets the property in the `view` layer only, otherwise
     92If `view` is specified, sets the property in the view layer only, otherwise
    9593sets the buffer property.
    9694
     
    127125`charprops` but allowed by `filter` are set to `nil`, effectively removing them.
    128126Properties not allowed by `filter` are not changed. The default
    129 `filter` is `(charprops-names` `charprops)'.
     127`filter` is `(charprops-names` `charprops)`.
    130128
    131129`(CHARPROPS-IN-REGION region-or-mark &key count end filter)`
     
    134132in a region.  `count` and `end` can only be specified if `region-or-mark` is a
    135133region, in which case they define the region as described for `set-charprop-value`.
    136 Only properties allowed by `filter`.  The returned object doesn't
    137 encode the buffer range or the characters themselves, just the sequence of `charprops`.
     134Only properties allowed by `filter` are recorded.  The returned object doesn't
     135encode the buffer range or the characters themselves, just the sequence of charprops.
    138136
    139137`(APPLY-CHARPROPS mark charprops-range &key filter from-end)`
     
    164162`(CHARPROP-EQUAL name value1 value2)`
    165163
    166 Returns true if value1 and value2 are equivalent property values for `name`.  By
     164Returns true if `value1` and `value2` are equivalent property values for `name`.  By
    167165default, it compares strings using `STRING=` (so it's case sensitive), numbers
    168166using `=` (so that 12 and 12.0 are equivalent) and all other values using `EQL`.
     
    196194
    197195Return the representation of `charprops` as a hash table, including only the
    198 properties allowed by `filter`.  The returned hash-table may be part of an internal
     196properties allowed by `filter`.  The returned hash table may be part of an internal
    199197representation of `charprops` and therefore must not be destructively modified
    200198by the user.
     
    244242 * A protocol to add a new display property (including a Cocoa-specific part to make display do something with it).
    245243
    246  * A way to associate a value comparison function with a user property.  Might be as simple as announcing `CHARPROP-EQUAL` is a generic function, but I just haven't thought about it yet.
     244 * A way to associate a value comparison function with a user property.  Might be as simple as declaring that `CHARPROP-EQUAL` is a generic function, but I just haven't thought about it yet.
    247245
    248246 * A `:hidden` property to request the character be drawn at 0 width - to allow hiding parts of buffer.