Changes between Version 1 and Version 2 of CocoaIde/FontSupport


Ignore:
Timestamp:
Feb 4, 2009, 1:50:38 PM (11 years ago)
Author:
gz
Comment:

Remove idea of Cocoa attributes as properties.

Legend:

Unmodified
Added
Removed
Modified
  • CocoaIde/FontSupport

    v1 v2  
    88Characters in Hemlock buffers can have properties.  A character property is
    99defined by a property name and value, each of which can be an arbitrary object.
    10 Character property names are compared using `EQUAL`.  Property values are
     10Character property names are compared using `EQL`.  Property values are
    1111compared using a special function `CHARPROP-EQUAL`.
    1212
    13 Property names that are strings or keywords are reserved for use by Hemlock as
     13Property names that are keywords are reserved for use by Hemlock as
    1414predefined property names. Other objects (most notably non-keyword symbols) are
    1515available for use as user-defined properties.
     
    5050Hemlock recognizes the following display properties:
    5151
    52   `:font-name`:: a string which names the font family or the specifc font, or one of ` :document-font`, `:fixed-font`, `:system-font`.
     52  `:font-name`:: a string which names the font family or the specifc font, or one of `:document-font`, `:fixed-font`, `:system-font`.
    5353
    5454 ` :font-size`:: a real number, the size of the font
     
    6666  `:background-color`::  same as above
    6767
    68 Property names that are strings are reserved for non-portable back-end-specific
    69 properties. On the Mac, they are treated as Cocoa attribute names.  If you
    70 specify Cocoa attributes and Hemlock display properties that overlap, e.g. if
    71 you have both `"NSFont"` and `:font-weight` properties, it is undefined which will
    72 win.
    7368
    7469== Functions ==
     
    8176view properties for `view`, then in buffer properties.
    8277
    83 `(PREVIOUS-CHARPROP-VALUE mark name &key view) `
     78`(PREVIOUS-CHARPROP-VALUE mark name &key view)`
    8479
    8580 Returns the value of property `name` in the character before `mark`.  If `view` is specified, first looks in