User Tools

Site Tools


text_clips_versus_code_templates

Comparing Text Clips and Code Templates

Text Clips and Code Templates are very similar in the effect they have on text (the code in PN is identical for both), and are differentiated by the way you access, use and edit them. Here is a quick comparison:

Textclips

  • Displayed in the side bar window
  • Used by selecting from that window with mouse or keyboard
  • Currently can't be edited with the PN UI, there's an external tool or edit the XML

Code Templates

  • Accessed by keyword (or part of keyword)
  • Displayed in drop-down list
  • Tied to current scheme selection
  • Edited in PN UI

Uses

Code Templates allow you to type out new code very quickly using short keywords - they're probably best for frequently used fragments. Text clips are more useful for browsing big libraries of clips, perhaps those you access less often.

There probably will be UI for editing text clips in PN soon.

text_clips_versus_code_templates.txt · Last modified: 2008/09/25 15:26 by Simon Steele