; Syntax higlighting for Ruby ; -- Created by: John Tobler, grepninja@diganet.com ; ; WARNING: GWD Text Editor 1.x and 16-bit version 2.0 are ; limited to 14 languages. ; ; To add syntax highlighting for Ruby files: ; ; 1. Open syntax.hgl file in the GWD Text Editor ; 3. Go to the end of the syntax.hgl file (press Ctrl+End). ; 4. Insert one empty line. ; 5. From the File menu, choose Insert File command. ; 6. Select this file and choose Open. ; 7. Save syntax.hgl file. ; 8. Restart GWD Text Editor [Ruby] FilePattern=*.rb CaseSensitive=yes UnixTexKeywords=no FortranComment=no CobolCommentPos=0 CobolCommentChar= FirstComment=# MultiComment= LineComment1=# LineComment2= MaxLineLen=0 StringDelim=" CharDelim=' QuoteChar=\ OpenCloseDelim=([{ }]) Delimiters=!#.,;:? Operators=-+/$%*&^=<>|!~^@ Preprocess= Words=0-9a-zA-Z Numbers=-+0-9eE. LineNumbers=no HTML= Cobol=no Keyword1= Keyword2=&&::||doGCifinIOor Keyword3=andCGIdefDirENDendforFTPNetnewNILnilnotPOP Keyword4=APOPARGVattrcaseDATADateeachechoelseFilefindFindHashHTTPloadlockMathmkmfnextopenprocProcputsquitredoselfSMTPthenTimetrueTRUEwaitwhen Keyword5=aliasArrayBEGINbeginbreakcatchClassclasscloseelsifErrnofalseFALSEFloatMutexprintpruneraiseRangeretrysleepSTDINsuperthrowundefuntilwhileyield Keyword6=BignumConfigCONFIGensureFixnuminjectKernelMethodmoduleModuleObjectPStorepublicRegexprescuereturnsignalSocketSTDERRSTDOUTStringStructSymbolTelnetThreadunlessunlock Keyword7=BindingchangedcollectcomplexComplexEnglishforeachincludeIntegerlocked?MarshalNumericPOPMailprivateProcessprofilerequiretimeout Keyword8=__FILE____LINE__defined?FileTestIPSocketNet::FTPNet::POPNilClassobserverreceiverTempfiletry_lockWIN32APIWin32APIwin32apiWin32APIwin32oleWIN32OLE Keyword9=broadcastExceptionhave_funcMatchDataNet::APOPNet::HTTPNet::SMTPparsedateprotectedsingletonSingletonTCPServerTCPSocketTrueClassUDPSocket Keyword10=Comparabledir_configEnumerableFalseClassFile::StatGetoptLonginitializeObservableUNIXServerUNIXSocket Keyword11=attr_readerattr_writerBasicSockethave_headerNet::TelnetObjectSpaceSOCKSSocketStruct::TmssynchronizeThreadGroup Keyword12=add_observerCGI::SessionContinuationfind_libraryhave_libraryHTTPResponseNet::POPMailRUBY_VERSION Keyword13=attr_accessorDelegateClassRUBY_PLATFORM Keyword14=WIN32OLE_EVENT Keyword15=create_makefileSimpleDelegator Keyword16=notify_observersTOPLEVEL_BINDING Keyword17=Net::HTTPResponseRUBY_RELEASE_DATE ColorComment=13 ColorPreproc=4 ColorString=11 ColorNumber=14 ColorDelim=4 ColorOperator=12 ColorKeyword=15 ColorText=9 ColorBackground=1 ColorLineNumbers=8