mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 11:40:48 +00:00
Add support to parse link fields in RTF. This enables copying of links
in NSTextView. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37946 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b278884e92
commit
101259e3e4
7 changed files with 1637 additions and 1339 deletions
|
@ -180,7 +180,15 @@ LexKeyword RTFcommands[] =
|
|||
{"fcharset", token(RTFfcharset)},
|
||||
{"fdecor", token(RTFfamilyDecor)},
|
||||
{"fi", token(RTFfirstLineIndent)},
|
||||
{"field", token(RTFfield)},
|
||||
{"filename", token(RTFNeXTfilename)},
|
||||
{"fldalt", token(RTFfldalt)},
|
||||
{"flddirty", token(RTFflddirty)},
|
||||
{"fldedit", token(RTFfldedit)},
|
||||
{"fldinst", token(RTFfldinst)},
|
||||
{"fldlock", token(RTFfldlock)},
|
||||
{"fldpriv", token(RTFfldpriv)},
|
||||
{"fldrslt", token(RTFfldrslt)},
|
||||
{"fmodern", token(RTFfamilyModern)},
|
||||
{"fnil", token(RTFfamilyNil)},
|
||||
{"fonttbl", token(RTFfontListStart)},
|
||||
|
@ -196,6 +204,7 @@ LexKeyword RTFcommands[] =
|
|||
{"fscript", token(RTFfamilyScript)},
|
||||
{"fswiss", token(RTFfamilySwiss)},
|
||||
{"ftech", token(RTFfamilyTech)},
|
||||
{"fttruetype", token(RTFfttruetype)},
|
||||
{"green", token(RTFgreen)},
|
||||
/* All headers are mapped on one entry */
|
||||
{"header", token(RTFheader)},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue