Test Examples

You can embed example text within the code to use for quick and easy testing using the Text Graph Analyser.

You can include either:

Syntax

Example text is placed inside the comment style /* - */

/*

#EXAMPLE

<insert example here>

#EXAMPLE END

*/

For improved readability, do not include comments in the #EXAMPLE comment.

Use Sample Text

Syntax: Text

/*

#EXAMPLE

<insert example here>

#EXAMPLE END

*/

Do not indent the sample text as it will be indented in the test.

Example: Text
Copy
/*
#EXAMPLE
During the attack, artillery, bombs and missiles were used to disable the aircraft carrier.
#EXAMPLE END
*/            

Use a Document ID

Syntax: Document ID

/*

#EXAMPLE

##SINTELIX@DOCUMENT-ID:<Document ID>

#EXAMPLE END

*/

Get the Document ID

Select a document to view from Collections > Documents pane and copy the ID from the Document pane.

Since the Document IDs are unique, the document can be in any project.

Example: Document ID
Copy
/*
#EXAMPLE
##SINTELIX@DOCUMENT-ID:3957382665347
#EXAMPLE END
*/            
Caution

The test may fail if the document with the matching Document ID has been deleted.

Complete Text Example
Copy
/************************************************/
/*  EXAMPLE 1 - Weapons list                    */
/************************************************/
#wordlist tag:Weapon
artillery
bombs
missiles
aircraft carrier
/************************************************/
/*  TEST SAMPLE - Weapons list                  */
/************************************************/
/*
#EXAMPLE
During the attack, artillery, bombs and missiles were used to disable the aircraft carrier.
#EXAMPLE END
*/