<?php
$BEAUT_PATH = realpath(".")."/Services/COPage/syntax_highlight/php";
if (!isset ($BEAUT_PATH)) return;
require_once("$BEAUT_PATH/Beautifier/HFile.php");
  class HFile_baan3 extends HFile{
   function HFile_baan3(){
     $this->HFile();	
/*************************************/
// Beautifier Highlighting Configuration File 
// Baan 3/4-GL
/*************************************/
// Flags

$this->nocase            	= "1";
$this->notrim            	= "0";
$this->perl              	= "0";

// Colours

$this->colours        	= array("blue", "purple");
$this->quotecolour       	= "blue";
$this->blockcommentcolour	= "green";
$this->linecommentcolour 	= "green";

// Indent Strings

$this->indent            	= array("{", "if", "else", "repeat", "selectdo", "selectempty", "selecteos", "while", "for", "case", "dllusage");
$this->unindent          	= array("}", "endif", "endselect", "endwhile", "endfor", "endcase", "until", "enddllusage");

// String characters and delimiters

$this->stringchars       	= array();
$this->delimiters        	= array("~", "!", "@", "%", "^", "&", "*", "(", ")", "-", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", "	", "?");
$this->escchar           	= "";

// Comment settings

$this->linecommenton     	= array("|");
$this->blockcommenton    	= array("dllusage");
$this->blockcommentoff   	= array("endusage");

// Keywords (keyword mapping to colour number)

$this->keywords          	= array(
			"at" => "1", 
			"and" => "1", 
			"as" => "1", 
			"auto" => "1", 
			"base" => "1", 
			"based" => "1", 
			"break" => "1", 
			"bset" => "1", 
			"call" => "1", 
			"case" => "1", 
			"char" => "1", 
			"clean" => "1", 
			"commit" => "1", 
			"common" => "1", 
			"const" => "1", 
			"continue" => "1", 
			"default" => "1", 
			"dim" => "1", 
			"do" => "1", 
			"domain" => "1", 
			"double" => "1", 
			"else" => "1", 
			"empty" => "1", 
			"end" => "1", 
			"endcase" => "1", 
			"endfor" => "1", 
			"endif" => "1", 
			"endwhile" => "1", 
			"endselect" => "1", 
			"enum" => "1", 
			"eq" => "1", 
			"extern" => "1", 
			"false" => "1", 
			"fixed" => "1", 
			"for" => "1", 
			"from" => "1", 
			"function" => "1", 
			"ge" => "1", 
			"global" => "1", 
			"goto" => "1", 
			"gt" => "1", 
			"if" => "1", 
			"in" => "1", 
			"input" => "1", 
			"le" => "1", 
			"long" => "1", 
			"lt" => "1", 
			"mb" => "1", 
			"mess" => "1", 
			"multibyte" => "1", 
			"ne" => "1", 
			"not" => "1", 
			"on" => "1", 
			"or" => "1", 
			"print" => "1", 
			"prompt" => "1", 
			"ref" => "1", 
			"reference" => "1", 
			"register" => "1", 
			"repeat" => "1", 
			"return" => "1", 
			"rows" => "1", 
			"select" => "1", 
			"selectbind" => "1", 
			"selectdo" => "1", 
			"selectempty" => "1", 
			"selecteos" => "1", 
			"selecterror" => "1", 
			"set" => "1", 
			"static" => "1", 
			"step" => "1", 
			"stop" => "1", 
			"string" => "1", 
			"switch" => "1", 
			"table" => "1", 
			"then" => "1", 
			"to" => "1", 
			"transaction" => "1", 
			"true" => "1", 
			"typedef" => "1", 
			"union" => "1", 
			"unsigned" => "1", 
			"until" => "1", 
			"update" => "1", 
			"void" => "1", 
			"where" => "1", 
			"wherebind" => "1", 
			"whereused" => "1", 
			"while" => "1", 
			"with" => "1", 
			"#define" => "1", 
			"#include" => "1", 
			"#elif" => "1", 
			"#if" => "1", 
			"#line" => "1", 
			"#else" => "1", 
			"#ifdef" => "1", 
			"#pragma" => "1", 
			"#endif" => "1", 
			"#ifndef" => "1", 
			"#undef" => "1", 
			"#ident" => "1", 
			"AbstractMethodError" => "2", 
			"AccessException" => "2", 
			"Acl" => "2", 
			"AclEntry" => "2", 
			"AclNotFoundException" => "2", 
			"ActionEvent" => "2", 
			"ActionListener" => "2", 
			"Adjustable" => "2", 
			"AdjustmentEvent" => "2", 
			"AdjustmentListener" => "2", 
			"Adler32" => "2", 
			"AlreadyBoundException" => "2", 
			"Applet" => "2", 
			"AppletContext" => "2", 
			"AppletStub" => "2", 
			"AreaAveragingScaleFilter" => "2", 
			"ArithmeticException" => "2", 
			"Array" => "2", 
			"ArrayIndexOutOfBoundsException" => "2", 
			"ArrayStoreException" => "2", 
			"AudioClip" => "2", 
			"AWTError" => "2", 
			"AWTEvent" => "2", 
			"AWTEventMulticaster" => "2", 
			"AWTException" => "2", 
			"BeanDescriptor" => "2", 
			"BeanInfo" => "2", 
			"Beans" => "2", 
			"BigDecimal" => "2", 
			"BigInteger" => "2", 
			"BindException" => "2", 
			"BitSet" => "2", 
			"Boolean" => "2", 
			"BorderLayout" => "2", 
			"BreakIterator" => "2", 
			"BufferedInputStream" => "2", 
			"BufferedOutputStream" => "2", 
			"BufferedReader" => "2", 
			"BufferedWriter" => "2", 
			"Button" => "2", 
			"ButtonPeer" => "2", 
			"Byte" => "2", 
			"ByteArrayInputStream" => "2", 
			"ByteArrayOutputStream" => "2", 
			"Calendar" => "2", 
			"CallableStatement" => "2", 
			"CanvasCanvasPeer" => "2", 
			"Certificate" => "2", 
			"Character" => "2", 
			"CharacterIterator" => "2", 
			"CharArrayReader" => "2", 
			"CharArrayWriter" => "2", 
			"CharConversionException" => "2", 
			"Checkbox" => "2", 
			"CheckboxGroup" => "2", 
			"CheckboxMenuItem" => "2", 
			"CheckboxMenuItemPeer" => "2", 
			"CheckboxPeer" => "2", 
			"CheckedInputStream" => "2", 
			"CheckedOutputStream" => "2", 
			"Checksum" => "2", 
			"Choice" => "2", 
			"ChoiceFormat" => "2", 
			"ChoicePeer" => "2", 
			"Class" => "2", 
			"ClassCastException" => "2", 
			"ClassCircularityError" => "2", 
			"ClassFormatError" => "2", 
			"ClassLoader" => "2", 
			"ClassNotFoundException" => "2", 
			"Clipboard" => "2", 
			"ClipboardOwner" => "2", 
			"Cloneable" => "2", 
			"CloneNotSupportedException" => "2", 
			"CollationElementIterator" => "2", 
			"CollationKey" => "2", 
			"Collator" => "2", 
			"Color" => "2", 
			"ColorModel" => "2", 
			"Compiler" => "2", 
			"Component" => "2", 
			"ComponentAdapter" => "2", 
			"ComponentEvent" => "2", 
			"ComponentListener" => "2", 
			"ComponentPeer" => "2", 
			"ConnectException" => "2", 
			"ConnectIOException" => "2", 
			"Connection" => "2", 
			"Constructor" => "2", 
			"Container" => "2", 
			"ContainerAdapter" => "2", 
			"ContainerEvent" => "2", 
			"ContainerListener" => "2", 
			"ContainerPeer" => "2", 
			"ContentHandler" => "2", 
			"ContentHandlerFactory" => "2", 
			"CRC32" => "2", 
			"CropImageFilter" => "2", 
			"Cursor" => "2", 
			"Customizer" => "2", 
			"CardLayout" => "2", 
			"DatabaseMetaData" => "2", 
			"DataFlavor" => "2", 
			"DataFormatException" => "2", 
			"DatagramPacket" => "2", 
			"DatagramSocket" => "2", 
			"DatagramSocketImpl" => "2", 
			"DataInput" => "2", 
			"DataInputStream" => "2", 
			"DataOutput" => "2", 
			"DataOutputStream" => "2", 
			"DataTruncation" => "2", 
			"Date" => "2", 
			"DateFormat" => "2", 
			"DateFormatSymbols" => "2", 
			"DecimalFormat" => "2", 
			"DecimalFormatSymbols" => "2", 
			"Deflater" => "2", 
			"DeflaterOutputStream" => "2", 
			"DGC" => "2", 
			"Dialog" => "2", 
			"DialogPeer" => "2", 
			"Dictionary" => "2", 
			"DigestException" => "2", 
			"DigestInputStream" => "2", 
			"DigestOutputStream" => "2", 
			"Dimension" => "2", 
			"DirectColorModel" => "2", 
			"Driver" => "2", 
			"DriverManager" => "2", 
			"DriverPropertyInfo" => "2", 
			"DSAKey" => "2", 
			"DSAKeyPairGenerator" => "2", 
			"DSAParams" => "2", 
			"DSAPrivateKey" => "2", 
			"DSAPublicKey" => "2", 
			"EmptyStackException" => "2", 
			"Enumeration" => "2", 
			"EOFException" => "2", 
			"Error" => "2", 
			"Event" => "2", 
			"EventListener" => "2", 
			"EventObject" => "2", 
			"EventQueue" => "2", 
			"EventSetDescriptor" => "2", 
			"Exception" => "2", 
			"ExceptionInInitializerError" => "2", 
			"ExportException" => "2", 
			"FeatureDescriptor" => "2", 
			"Field" => "2", 
			"FieldPosition" => "2", 
			"File" => "2", 
			"FileDescriptor" => "2", 
			"FileDialog" => "2", 
			"FileDialogPeer" => "2", 
			"FileInputStream" => "2", 
			"FilenameFilter" => "2", 
			"FileNameMap" => "2", 
			"FileNotFoundException" => "2", 
			"FileOutputStream" => "2", 
			"FileReader" => "2", 
			"FileWriter" => "2", 
			"FilteredImageSource" => "2", 
			"FilterInputStream" => "2", 
			"FilterOutputStream" => "2", 
			"FilterReader" => "2", 
			"FilterWriter" => "2", 
			"Float" => "2", 
			"FlowLayout" => "2", 
			"FocusAdapter" => "2", 
			"FocusEvent" => "2", 
			"FocusListener" => "2", 
			"Font" => "2", 
			"FontMetrics" => "2", 
			"FontPeer" => "2", 
			"Format" => "2", 
			"Frame" => "2", 
			"FramePeer" => "2", 
			"Graphics" => "2", 
			"GregorianCalendar" => "2", 
			"GridBagConstraints" => "2", 
			"GridBagLayout" => "2", 
			"GridLayout" => "2", 
			"Group" => "2", 
			"GZIPInputStream" => "2", 
			"GZIPOutputStream" => "2", 
			"Hashtable" => "2", 
			"HttpURLConnection" => "2", 
			"Identity" => "2", 
			"IdentityScope" => "2", 
			"IllegalAccessError" => "2", 
			"IllegalAccessException" => "2", 
			"IllegalArgumentException" => "2", 
			"IllegalComponentStateException" => "2", 
			"IllegalMonitorStateException" => "2", 
			"IllegalStateException" => "2", 
			"IllegalThreadStateException" => "2", 
			"Image" => "2", 
			"ImageConsumer" => "2", 
			"ImageFilter" => "2", 
			"ImageObserver" => "2", 
			"ImageProducer" => "2", 
			"IncompatibleClassChangeError" => "2", 
			"IndexColorModel" => "2", 
			"IndexedPropertyDescriptor" => "2", 
			"IndexOutOfBoundsException" => "2", 
			"InetAddress" => "2", 
			"Inflater" => "2", 
			"InflaterInputStream" => "2", 
			"InputEvent" => "2", 
			"InputStream" => "2", 
			"InputStreamReader" => "2", 
			"Insets" => "2", 
			"InstantiationError" => "2", 
			"InstantiationException" => "2", 
			"Integer" => "2", 
			"InternalError" => "2", 
			"InterruptedException" => "2", 
			"InterruptedIOException" => "2", 
			"IntrospectionException" => "2", 
			"Introspector" => "2", 
			"InvalidClassException" => "2", 
			"InvalidKeyException" => "2", 
			"InvalidObjectException" => "2", 
			"InvalidParameterException" => "2", 
			"InvocationTargetException" => "2", 
			"IOException" => "2", 
			"ItemEvent" => "2", 
			"ItemListener" => "2", 
			"ItemSelectable" => "2", 
			"Key" => "2", 
			"KeyAdapter" => "2", 
			"KeyEvent" => "2", 
			"KeyException" => "2", 
			"KeyListener" => "2", 
			"KeyManagementException" => "2", 
			"KeyPair" => "2", 
			"KeyPairGenerator" => "2", 
			"Label" => "2", 
			"LabelPeer" => "2", 
			"LastOwnerException" => "2", 
			"LayoutManager" => "2", 
			"LayoutManager2" => "2", 
			"Lease" => "2", 
			"LightweightPeer" => "2", 
			"LineNumberInputStream" => "2", 
			"LineNumberReader" => "2", 
			"LinkageError" => "2", 
			"List" => "2", 
			"ListPeer" => "2", 
			"ListResourceBundle" => "2", 
			"LoaderHandler" => "2", 
			"Locale" => "2", 
			"LocateRegistry" => "2", 
			"LogStream" => "2", 
			"MalformedURLException" => "2", 
			"MarshalException" => "2", 
			"Math" => "2", 
			"MediaTracker" => "2", 
			"Member" => "2", 
			"MemoryImageSource" => "2", 
			"Menu" => "2", 
			"MenuBar" => "2", 
			"MenuBarPeer" => "2", 
			"MenuComponent" => "2", 
			"MenuComponentPeer" => "2", 
			"MenuContainer" => "2", 
			"MenuItem" => "2", 
			"MenuItemPeer" => "2", 
			"MenuPeer" => "2", 
			"MenuShortcut" => "2", 
			"MessageDigest" => "2", 
			"MessageFormat" => "2", 
			"Method" => "2", 
			"MethodDescriptor" => "2", 
			"MissingResourceException" => "2", 
			"Modifier" => "2", 
			"MouseAdapter" => "2", 
			"MouseEvent" => "2", 
			"MouseListener" => "2", 
			"MouseMotionAdapter" => "2", 
			"MouseMotionListener" => "2", 
			"MulticastSocket" => "2", 
			"Naming" => "2", 
			"NegativeArraySizeException" => "2", 
			"NoClassDefFoundError" => "2", 
			"NoRouteToHostException" => "2", 
			"NoSuchAlgorithmException" => "2", 
			"NoSuchElementException" => "2", 
			"NoSuchFieldError" => "2", 
			"NoSuchFieldException" => "2", 
			"NoSuchMethodError" => "2", 
			"NoSuchMethodException" => "2", 
			"NoSuchObjectException" => "2", 
			"NoSuchProviderException" => "2", 
			"NotActiveException" => "2", 
			"NotBoundException" => "2", 
			"NotOwnerException" => "2", 
			"NotSerializableException" => "2", 
			"NullPointerException" => "2", 
			"Number" => "2", 
			"NumberFormat" => "2", 
			"NumberFormatException" => "2", 
			"Object" => "2", 
			"ObjectInput" => "2", 
			"ObjectInputStream" => "2", 
			"ObjectInputValidation" => "2", 
			"ObjectOutput" => "2", 
			"ObjectOutputStream" => "2", 
			"ObjectStreamClass" => "2", 
			"ObjectStreamException" => "2", 
			"ObjID" => "2", 
			"Observable" => "2", 
			"Observer" => "2", 
			"Operation" => "2", 
			"OptionalDataException" => "2", 
			"OutOfMemoryError" => "2", 
			"OutputStream" => "2", 
			"OutputStreamWriter" => "2", 
			"Owner" => "2", 
			"PaintEvent" => "2", 
			"Panel" => "2", 
			"PanelPeer" => "2", 
			"ParameterDescriptor" => "2", 
			"ParseException" => "2", 
			"ParsePosition" => "2", 
			"Permission" => "2", 
			"PipedInputStream" => "2", 
			"PipedOutputStream" => "2", 
			"PipedReader" => "2", 
			"PipedWriter" => "2", 
			"PixelGrabber" => "2", 
			"Point" => "2", 
			"Polygon" => "2", 
			"PopupMenu" => "2", 
			"PopupMenuPeer" => "2", 
			"PreparedStatement" => "2", 
			"Principal" => "2", 
			"PrintGraphics" => "2", 
			"PrintJob" => "2", 
			"PrintStream" => "2", 
			"PrintWriter" => "2", 
			"PrivateKey" => "2", 
			"Process" => "2", 
			"Properties" => "2", 
			"PropertyChangeEvent" => "2", 
			"PropertyChangeListener" => "2", 
			"PropertyChangeSupport" => "2", 
			"PropertyDescriptor" => "2", 
			"PropertyEditor" => "2", 
			"PropertyEditorManager" => "2", 
			"PropertyEditorSupport" => "2", 
			"PropertyResourceBundle" => "2", 
			"PropertyVetoException" => "2", 
			"ProtocolException" => "2", 
			"Provider" => "2", 
			"ProviderException" => "2", 
			"PublicKey" => "2", 
			"PushbackInputStream" => "2", 
			"PushbackReader" => "2", 
			"Random" => "2", 
			"RandomAccessFile" => "2", 
			"Reader" => "2", 
			"RectangleRegistry" => "2", 
			"RegistryHandler" => "2", 
			"Remote" => "2", 
			"RemoteCall" => "2", 
			"RemoteException" => "2", 
			"RemoteObject" => "2", 
			"RemoteRef" => "2", 
			"RemoteServer" => "2", 
			"RemoteStub" => "2", 
			"ReplicateScaleFilter" => "2", 
			"ResourceBundle" => "2", 
			"ResultSet" => "2", 
			"ResultSetMetaData" => "2", 
			"RGBImageFilter" => "2", 
			"RMIClassLoader" => "2", 
			"RMIFailureHandler" => "2", 
			"RMISecurityException" => "2", 
			"RMISecurityManager" => "2", 
			"RMISocketFactory" => "2", 
			"RuleBasedCollator" => "2", 
			"Runnable" => "2", 
			"Runtime" => "2", 
			"RuntimeException" => "2", 
			"Scrollbar" => "2", 
			"ScrollbarPeer" => "2", 
			"ScrollPane" => "2", 
			"ScrollPanePeer" => "2", 
			"SecureRandom" => "2", 
			"Security" => "2", 
			"SecurityException" => "2", 
			"SecurityManager" => "2", 
			"SequenceInputStream" => "2", 
			"Serializable" => "2", 
			"ServerCloneException" => "2", 
			"ServerError" => "2", 
			"ServerException" => "2", 
			"ServerNotActiveException" => "2", 
			"ServerRef" => "2", 
			"ServerRuntimeException" => "2", 
			"ServerSocket" => "2", 
			"Shape" => "2", 
			"Short" => "2", 
			"Signature" => "2", 
			"SignatureException" => "2", 
			"Signer" => "2", 
			"SimpleBeanInfo" => "2", 
			"SimpleDateFormat" => "2", 
			"SimpleTimeZone" => "2", 
			"Skeleton" => "2", 
			"SkeletonMismatchException" => "2", 
			"SkeletonNotFoundException" => "2", 
			"Socket" => "2", 
			"SocketException" => "2", 
			"SocketImpl" => "2", 
			"SocketImplFactory" => "2", 
			"SocketSecurityException" => "2", 
			"SQLException" => "2", 
			"SQLWarning" => "2", 
			"Stack" => "2", 
			"StackOverflowError" => "2", 
			"Statement" => "2", 
			"StreamCorruptedException" => "2", 
			"StreamTokenizer" => "2", 
			"StringBuffer" => "2", 
			"StringBufferInputStream" => "2", 
			"StringCharacterIterator" => "2", 
			"StringIndexOutOfBoundsException" => "2", 
			"StringReader" => "2", 
			"StringSelection" => "2", 
			"StringTokenizer" => "2", 
			"StringWriter" => "2", 
			"StubNotFoundException" => "2", 
			"SyncFailedException" => "2", 
			"System" => "2", 
			"SystemColor" => "2", 
			"TextArea" => "2", 
			"TextAreaPeer" => "2", 
			"TextComponent" => "2", 
			"TextComponentPeer" => "2", 
			"TextEvent" => "2", 
			"TextField" => "2", 
			"TextFieldPeer" => "2", 
			"TextListener" => "2", 
			"Thread" => "2", 
			"ThreadDeath" => "2", 
			"ThreadGroup" => "2", 
			"Throwable" => "2", 
			"Time" => "2", 
			"Timestamp" => "2", 
			"TimeZone" => "2", 
			"Toolkit" => "2", 
			"TooManyListenersException" => "2", 
			"Transferable" => "2", 
			"Types" => "2", 
			"UID" => "2", 
			"UnexpectedException" => "2", 
			"UnicastRemoteObject" => "2", 
			"UnknownError" => "2", 
			"UnknownHostException" => "2", 
			"UnknownServiceException" => "2", 
			"UnmarshalException" => "2", 
			"Unreferenced" => "2", 
			"UnsatisfiedLinkError" => "2", 
			"UnsupportedEncodingException" => "2", 
			"UnsupportedFlavorException" => "2", 
			"URL" => "2", 
			"URLConnection" => "2", 
			"URLEncoder" => "2", 
			"URLStreamHandler" => "2", 
			"URLStreamHandlerFactory" => "2", 
			"UTFDataFormatException" => "2", 
			"Vector" => "2", 
			"VerifyError" => "2", 
			"VetoableChangeListener" => "2", 
			"VetoableChangeSupport" => "2", 
			"VirtualMachineError" => "2", 
			"Visibility" => "2", 
			"VMID" => "2", 
			"Window" => "2", 
			"WindowAdapter" => "2", 
			"WindowEvent" => "2", 
			"WindowListener" => "2", 
			"WindowPeer" => "2", 
			"WriteAbortedException" => "2", 
			"Writer" => "2", 
			"ZipEntry" => "2", 
			"ZipException" => "2", 
			"ZipFile" => "2", 
			"ZipInputStream" => "2", 
			"ZipOutputStream" => "2");

// Special extensions

// Each category can specify a PHP function that returns an altered
// version of the keyword.
        
        

$this->linkscripts    	= array(
			"1" => "donothing", 
			"2" => "donothing");
}


function donothing($keywordin)
{
	return $keywordin;
}

}?>
