Changeset 40278 in project


Ignore:
Timestamp:
07/14/21 19:00:45 (2 weeks ago)
Author:
Vasilij Schneidermann
Message:

breadline: Release v0.10

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/breadline

    r39771 r40278  
    148148==== Text Manipulation
    149149
     150<procedure>(line-buffer)</procedure>
     151
     152Returns a string representing the current line contents.
     153
     154<procedure>(point)</procedure>
     155<procedure>(end)</procedure>
     156
     157Returns a number representing the position of point and end of the
     158line. If point is at the end of the line, point and end are equal.
     159
     160<procedure>(display-prompt)</procedure>
     161
     162Returns a string representing the current prompt. This is usually
     163identical to the prompt strings, but may differ from them, for example
     164when performing incremental search.
     165
    150166<procedure>(insert-text STRING)</procedure>
    151167
     
    165181successfully inserted; {{0}} otherwise.
    166182
     183==== Redisplay
     184
    167185<procedure>(redisplay)</procedure>
    168186
    169187Change what's displayed on the screen to reflect the current contents
    170188of Readline's buffer.
     189
     190<procedure>(redisplay-function-set! PROCEDURE)</procedure>
     191
     192Sets a function that will be called periodically when Readline
     193performs redisplay. The argument should be a thunk. Its return value
     194is ignored.
     195
     196The default behavior may be enabled by passing {{#f}}.
    171197
    172198==== Event hooks
     
    288314=== Version history
    289315
     316==== 0.10
     317
     318* Introduce {{line-buffer}}, {{point}}, {{end}}, {{display-prompt}} and {{redisplay-function-set!}} to allow for syntax highlighting.
     319
    290320==== 0.9.1
    291321
Note: See TracChangeset for help on using the changeset viewer.