Mirror of CollapseOS
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

17 lines
741B

  1. There are two buffers, IBUF (insert buffer) and FBUF (find
  2. buffer). They are used as a typing target for the actions
  3. described below. They both have a peculiar logic: when typing
  4. is expected to fill a buffer, an empty value means "reuse
  5. previous value". For example, typing "I foo I " inserts
  6. "foofoo".
  7. T ( n -- ): select line n for editing.
  8. P xxx: put typed IBUF on selected line.
  9. U xxx: insert typed IBUF on selected line.
  10. F xxx: find typed FBUF in block, starting from current
  11. position+1. If not found, don't move.
  12. i xxx: insert typed IBUF at cursor. "i" is to avoid shadowing
  13. core word "I".
  14. Y: Copy n characters after cursor into IBUF, n being length of
  15. FBUF. (cont.)