Changes between Version 2 and Version 3 of CocoaIde/FontSupport


Ignore:
Timestamp:
Feb 4, 2009, 4:20:54 PM (10 years ago)
Author:
gz
Comment:

future ideas

Legend:

Unmodified
Added
Removed
Modified
  • CocoaIde/FontSupport

    v2 v3  
    5252  `:font-name`:: a string which names the font family or the specifc font, or one of `:document-font`, `:fixed-font`, `:system-font`.
    5353
    54  ` :font-size`:: a real number, the size of the font
     54  `:font-size`:: a real number, the size of the font
    5555
    5656  `:font-weight`:: one of `:plain` or `:bold`
     
    236236
    237237
     238== Future extensions ==
     239
     240 * A protocol to allow mapping from user-defined properties to predefined display properties.  I.e. the user could mark up the buffer with `FOO` property, and then somewhere in another place specify that chars with the `FOO` property should be shown in blue.
     241
     242 * A protocol to add a new display property (including a Cocoa-specific part to make display do something with it).
     243
     244 * 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.
     245
     246 * A :hidden property to request the character be drawn at 0 width - to allow hiding parts of buffer.
     247
     248 * Allow properties to be attached to regions as well as characters (not sure this is a good idea, but worth thinking through).
     249
     250 * Support multiple overlays in general (view properties are just a special case of overlays).
     251
     252
     253