* Copyright: (c) 2008 Philippe Pepiot, Nigel McNie (http://qbnz.com/highlighter) * Release Version: 1.0 * * FVWM language file for GeSHi. * * CHANGES * ------- * 2008/04/21 (1.0.0) * - First Release * * TODO * ------------------------- * * Get symbols working * * Highlight builtin vars * ************************************************************************************* * * This file is part of GeSHi. * * GeSHi is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * GeSHi is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with GeSHi; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * ************************************************************************************/ $language_data = array ( 'LANG_NAME' => 'Fvwm', 'COMMENT_SINGLE' => array('#'), 'COMMENT_MULTI' => array(), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 'QUOTEMARKS' => array("'", '"'), 'ESCAPE_CHAR' => '\\', 'KEYWORDS' => array( 1 => array( 'AddButtonStyle', 'AddTitleStyle', 'DefaultColorset', 'DefaultColors', 'HideGeometryWindow', 'Quit', 'TearMenuOff', 'HilightColor', 'QuitScreen', 'Test', 'AddToDecor', 'DefaultFont', 'HilightColorset', 'QuitSession', 'TestRc', 'AddToFunc', 'DefaultIcon', 'IconFont', 'Raise', 'ThisWindow', 'AddToMenu', 'DefaultLayers', 'Iconify', 'RaiseLower ', 'Title', 'All', 'Delete', 'IconPath', 'Read', 'TitleStyle', 'AnimatedMove', 'Deschedule', 'IgnoreModifiers', 'Recapture', 'UnsetEnv', 'Any', 'Desk', 'ImagePath', 'RecaptureWindow', 'UpdateDecor', 'Asteric', 'DesktopName', 'Key', 'Refresh', 'UpdateStyles', 'Beep', 'DesktopSize', 'KeepRc', 'RefreshWindow', 'Wait', 'BorderStyle', 'Destroy', 'KillModule', 'Repeat', 'WarpToWindow', 'Break', 'DestroyDecor', 'Layer', 'Resize', 'WindowFont', 'BugOpts', 'DestroyFunc', 'LocalePath', 'ResizeMaximize', 'WindowId', 'BusyCursor', 'DestroyMenu', 'Lower', 'ResizeMove', 'WindowList', 'ButtonState', 'DestroyMenuStyle', 'Maximize', 'ResizeMoveMaximize', 'WindowsDesk', 'ButtonStyle', 'DestroyModuleConfig', 'Menu', 'RestackTransients', 'WindowShade', 'ChangeDecor', 'DestroyStyle', 'MenuStyle', 'Restart', 'WindowShadeAnimate', 'ChangeMenuStyle', 'DestroyWindowStyle', 'Module', 'SaveQuitSession', 'WindowStyle', 'CleanupColorsets', 'Direction', 'ModuleListenOnly', 'SaveSession', 'Xinerama', 'ClickTime', 'Echo', 'ModulePath', 'ScanForWindow', 'XineramaPrimaryScreen', 'Close', 'EchoFuncDefinition', 'ModuleSynchronous', 'Schedule', 'XineramaSls', 'ColorLimit', 'EdgeCommand', 'ModuleTimeout', 'Scroll', 'XineramaSlsScreens', 'ColormapFocus', 'EdgeLeaveCommand', 'Mouse', 'SendToModule', 'XineramaSlsSize', 'Colorset', 'EdgeResistance', 'Move', 'SetAnimation', 'XorPixmap', 'CopyMenuStyle', 'EdgeScroll', 'MoveThreshold', 'SetEnv', 'XorValue', 'Current', 'EdgeThickness', 'MoveToDesk', 'ShellCmd', 'XSync', 'CursorMove', 'Emulate', 'MoveToPage', 'Silent', 'XSynchronize', 'CursorStyle', 'EscapeFunc', 'MoveToScreen', 'SnapAttraction', 'EwmhBaseStruts', 'Next', 'SnapGrid', 'EwmhNumberOfDesktops', 'None', 'State', 'Exec', 'Nop', 'Stick', 'ExecUseShell', 'NoWindow', 'StickAcrossDesks', 'FakeClick', 'OpaqueMoveSize', 'StickAcrossPages', 'FakeKeypress', 'Pick', 'Stroke', 'FlipFocus', 'PipeRead', 'StrokeFunc', 'Focus', 'PixmapPath', 'Style', 'FocusStyle', 'PlaceAgain', 'Function', 'PointerKey', 'GlobalOpts', 'PointerWindow', 'GnomeButton', 'Popup', 'GnomeShowDesks', 'Prev', 'GotoDesk', 'PrintInfo', 'GotoDeskAndPage', 'GotoPage' ), 2 => array( //////////////// // STYLES /////////////// 'BorderWidth', 'HandleWidth', 'Icon', 'MiniIcon', 'IconBox', 'IconGrid', 'IconFill', 'IconSize', 'Title', 'TitleAtBottom', 'TitleAtLeft', 'TitleAtRight', 'TitleAtTop', 'LeftTitleRotatedCW', 'LeftTitleRotatedCCW', 'RightTitleRotatedCCW', 'RightTitleRotatedCW', 'TopTitleRotated', 'TopTitleNotRotated', 'BottomTitleRotated', 'BottomTitleNotRotated', 'UseTitleDecorRotation', 'StippledTitle', 'StippledIconTitle', 'IndexedWindowName', 'ExactWindowName', 'IndexedIconName', 'ExactIconName', 'Borders', 'Handles', 'WindowListSkip', 'WindowListHit', 'CirculateSkip', 'CirculateHit', 'CirculateSkipShaded', 'CirculateHitShaded', 'CirculateSkipIcon', 'CirculateHitIcon', 'Layer', 'StaysOnTop', 'StaysOnBottom', 'StaysPut', 'Sticky', 'Slippery', 'StickyAcrossPages', 'StickyAcrossDesks', 'StickyStippledTitle', 'StickyStippledIconTitle', 'StartIconic', 'StartNormal', 'Color', 'ForeColor', 'BackColor', 'Colorset', 'HilightFore', 'HilightBack', 'HilightColorset', 'BorderColorset', 'HilightBorderColorset', 'IconTitleColorset', 'HilightIconTitleColorset', 'IconBackgroundColorset', 'IconTitleRelief', 'IconBackgroundRelief', 'IconBackgroundPadding', 'Font', 'IconFont', 'StartsOnDesk', 'StartsOnPage', 'StartsAnyWhere', 'StartsOnScreen', 'StartShaded', 'ManualPlacementHonorsStartsOnPage', 'ManualPlacementIgnoresStartsOnPage', 'CaptureHonorsStartsOnPage', 'CaptureIgnoresStartsOnPage', 'RecaptureHonorsStartsOnPage', 'RecaptureIgnoresStartsOnPage', 'StartsOnPageIncludesTransients', 'StartsOnPageIgnoresTransients', 'IconTitle', 'MwmButtons', 'FvwmButtons', 'MwmBorder', 'FvwmBorder', 'MwmDecor', 'MwmFunctions', 'HintOverride', 'Button', 'ResizeHintOverride', 'OLDecor', 'GNOMEUseHints', 'GNOMEIgnoreHints', 'StickyIcon', 'SlipperyIcon', 'StickyAcrossPagesIcon', 'StickyAcrossDesksIcon', 'ManualPlacement', 'CascadePlacement', 'MinOverlapPlacement', 'MinOverlapPercentPlacement', 'TileManualPlacement', 'TileCascadePlacement', 'PositionPlacement', 'MinOverlapPlacementPenalties', 'MinOverlapPercentPlacementPenalties', 'DecorateTransient', 'NakedTransient', 'DontRaiseTransient', 'RaiseTransient', 'DontLowerTransient', 'LowerTransient', 'DontStackTransientParent', 'StackTransientParent', 'SkipMapping', 'ShowMapping', 'ScatterWindowGroups', 'KeepWindowGroupsOnDesk', 'UseDecor', 'UseStyle', 'NoPPosition', 'UsePPosition', 'NoUSPosition', 'UseUSPosition', 'NoTransientPPosition', 'UseTransientPPosition', 'NoTransientUSPosition', 'UseTransientUSPosition', 'NoIconPosition', 'UseIconPosition', 'Lenience', 'ClickToFocus', 'SloppyFocus', 'MouseFocus', 'FocusFollowsMouse', 'NeverFocus', 'ClickToFocusPassesClickOff', 'ClickToFocusPassesClick', 'ClickToFocusRaisesOff', 'ClickToFocusRaises', 'MouseFocusClickRaises', 'MouseFocusClickRaisesOff', 'GrabFocus', 'GrabFocusOff', 'GrabFocusTransientOff', 'GrabFocusTransient', 'FPFocusClickButtons', 'FPFocusClickModifiers', 'FPSortWindowlistByFocus', 'FPClickRaisesFocused', 'FPClickDecorRaisesFocused', 'FPClickIconRaisesFocused', 'FPClickRaisesUnfocused', 'FPClickDecorRaisesUnfocused', 'FPClickIconRaisesUnfocused', 'FPClickToFocus', 'FPClickDecorToFocus', 'FPClickIconToFocus', 'FPEnterToFocus', 'FPLeaveToUnfocus', 'FPFocusByProgram', 'FPFocusByFunction', 'FPFocusByFunctionWarpPointer', 'FPLenient', 'FPPassFocusClick', 'FPPassRaiseClick', 'FPIgnoreFocusClickMotion', 'FPIgnoreRaiseClickMotion', 'FPAllowFocusClickFunction', 'FPAllowRaiseClickFunction', 'FPGrabFocus', 'FPGrabFocusTransient', 'FPOverrideGrabFocus', 'FPReleaseFocus', 'FPReleaseFocusTransient', 'FPOverrideReleaseFocus', 'StartsLowered', 'StartsRaised', 'IgnoreRestack', 'AllowRestack', 'FixedPosition', 'VariablePosition', 'FixedUSPosition', 'VariableUSPosition', 'FixedPPosition', 'VariablePPosition', 'FixedSize', 'VariableSize', 'FixedUSSize', 'VariableUSSize', 'FixedPSize', 'VariablePSize', 'Closable', 'Iconifiable', 'Maximizable', 'AllowMaximizeFixedSize', 'IconOverride', 'NoIconOverride', 'NoActiveIconOverride', 'DepressableBorder', 'FirmBorder', 'MinWindowSize', 'MaxWindowSize', 'IconifyWindowGroups', 'IconifyWindowGroupsOff', 'ResizeOpaque', 'ResizeOutline', 'BackingStore', 'BackingStoreOff', 'BackingStoreWindowDefault', 'Opacity', 'ParentalRelativity', 'SaveUnder', 'SaveUnderOff', 'WindowShadeShrinks', 'WindowShadeScrolls', 'WindowShadeSteps', 'WindowShadeAlwaysLazy', 'WindowShadeBusy ', 'WindowShadeLazy', 'EWMHDonateIcon', 'EWMHDontDonateIcon', 'EWMHDonateMiniIcon', 'EWMHDontDonateMiniIcon', 'EWMHMiniIconOverride', 'EWMHNoMiniIconOverride', 'EWMHUseStackingOrderHints', 'EWMHIgnoreStackingOrderHints', 'EWMHIgnoreStateHints', 'EWMHUseStateHints', 'EWMHIgnoreStrutHints', 'EWMHUseStrutHints', 'EWMHIgnoreWindowType', 'EWMHMaximizeIgnoreWorkingArea', 'EWMHMaximizeUseWorkingArea', 'EWMHMaximizeUseDynamicWorkingArea', 'EWMHPlacementIgnoreWorkingArea', 'EWMHPlacementUseWorkingArea', 'EWMHPlacementUseDynamicWorkingArea', 'MoveByProgramMethod', 'Unmanaged', 'State', 'SnapGrid', 'SnapAttraction', 'EdgeMoveDelay', 'EdgeResizeDelay', 'EdgeMoveResistance', /////////////// // MENUSTYLES /////////////// 'Mwm', 'Win', 'BorderWidth', 'Foreground', 'Background', 'Greyed', 'HilightBack', 'HilightTitleBack', 'ActiveFore', 'MenuColorset', 'ActiveColorset', 'GreyedColorset', 'TitleColorset', 'Hilight3DThick', 'Hilight3DThin', 'Hilight3DOff', 'Hilight3DThickness', 'Animation', 'Font', 'TitleFont', 'MenuFace', 'PopupDelay', 'PopupOffset', 'TitleWarp', 'TitleUnderlines0', 'TitleUnderlines1', 'TitleUnderlines2', 'SeparatorsLong', 'SeparatorsShort', 'TrianglesSolid', 'TrianglesRelief', 'PopupImmediately', 'PopupDelayed', 'PopdownImmediately', 'PopdownDelayed', 'PopupActiveArea', 'DoubleClickTime', 'SidePic', 'SideColor', 'PopupAsRootMenu', 'PopupAsSubmenu', 'PopupIgnore', 'PopupClose', 'RemoveSubmenus', 'HoldSubmenus', 'SubmenusRight', 'SubmenusLeft', 'SelectOnRelease', 'ItemFormat', 'VerticalItemSpacing', 'VerticalTitleSpacing', 'AutomaticHotkeys', 'MouseWheel', 'ScrollOffPage', 'TrianglesUseFore' ), 3 => array( //////////////////// // COLORSET /////////////////// 'fg', 'Fore', 'Foreground', 'bg', 'Back', 'Background', 'hi', 'Hilite', 'Hilight', 'sh', 'Shade', 'Shadow', 'fg', 'sh', 'Pixmap', 'TiledPixmap', 'AspectPixmap', 'RootTransparent', 'Shape', 'TiledShape', 'AspectShape', 'Tint', 'fgTint', 'bgTint', 'Alpha', 'fgAlpha', 'Dither', 'IconTint', 'IconAlpha', 'NoShape', 'Plain', 'Translucent', ///////////////////// ///// Buttons /// ///////////////////// 'ActiveUp', 'ActiveDown', 'InactiveUp', 'InactiveDown', 'Active', 'Inactive', 'ToggledActiveUp', 'ToggledActiveDown', 'ToggledInactiveUp', 'ToggledInactiveDown', 'ToggledActive', 'ToggledInactive', 'AllNormal', 'AllToggled', 'AllActive', 'AllInactive', 'AllUp', 'AllDown', ///////////////////// /// MODULES et + /// ///////////////////// 'Geometry', 'NoGeometry', 'NoGeometryWithInfo', 'NoDeskNum', 'NoNumInDeskTitle', 'NoCurrentDeskTitle', 'MaxLabelWidth', 'width', 'TitleForAllDesks', 'Function', 'funcname', 'Desk', 'desknum', 'CurrentDesk', 'NoIcons', 'Icons', 'OnlyIcons', 'NoNormal', 'Normal', 'OnlyNormal', 'NoSticky', 'Sticky', 'OnlySticky', 'NoStickyAcrossPages', 'StickyAcrossPages', 'OnlyStickyAcrossPages', 'NoStickyAcrossDesks', 'StickyAcrossDesks', 'OnlyStickyAcrossDesks', 'NoOnTop', 'OnTop', 'OnlyOnTop', 'NoOnBottom', 'OnBottom', 'OnlyOnBottom', 'Layer', 'UseListSkip', 'OnlyListSkip', 'NoDeskSort', 'ReverseOrder', 'CurrentAtEnd', 'IconifiedAtEnd', 'UseIconName', 'Alphabetic', 'NotAlphabetic', 'SortByResource', 'SortByClass', 'NoHotkeys', 'SelectOnRelease', ////////////////// /// KEYS ///////// ////////////////// 'BackSpace', 'Begin', 'Break', 'Cancel', 'Clear', 'Delete', 'Down', 'End', 'Escape', 'Execute', 'Find', 'Help', 'Home', 'Insert', 'KP_Add', 'KP_Begin', 'KP_Decimal', 'KP_Delete', 'KP_Divide', 'KP_Down', 'KP_End', 'KP_Enter', 'KP_Equal', 'KP_Home', 'KP_Insert', 'KP_Left', 'KP_Multiply', 'KP_Next', 'KP_Page_Down', 'KP_Page_Up', 'KP_Prior', 'KP_Right', 'KP_Separator', 'KP_Space', 'KP_Subtract', 'KP_Tab', 'KP_Up', 'Left', 'Linefeed', 'Menu Mode_switch', 'Next', 'Num_Lock', 'Page_Down', 'Page_Up', 'Pause', 'Print', 'Prior', 'Redo', 'Return', 'Right', 'script_switch', 'Scroll_Lock', 'Select', 'Sys_Req', 'Tab', 'Undo', 'Up', 'space', 'exclam', 'quotedbl', 'numbersign', 'dollar', 'percent', 'ampersand', 'apostrophe', 'quoteright', 'parenleft', 'parenright', 'asterisk', 'plus', 'comma', 'minus', 'period', 'slash', 'colon', 'semicolon', 'less', 'equal', 'greater', 'question', 'at', 'bracketleft', 'backslash', 'bracketright', 'asciicircum', 'underscore', 'grave', 'quoteleft', 'braceleft', 'bar', 'braceright', 'asciitilde' ), 4 => array( 'StartFunction', 'InitFunction', 'RestartFunction', 'ExitFunction', 'SessionInitFunction', 'SessionRestartFunction', 'SessionExitFunction', 'MissingSubmenuFunction', 'WindowListFunc', 'On', 'Off' ) ), 'SYMBOLS' => array( '(', ')', '[', ']', '!', '@', '%', '&', '*', '|', '/', '<', '>', ';;' ), 'CASE_SENSITIVE' => array( GESHI_COMMENTS => false, 1 => false, 2 => false, 3 => false, 4 => false ), 'STYLES' => array( 'KEYWORDS' => array( 1 => 'color: #A52A2A; font-weight: bold;', 2 => 'color: #00AEC1; font-weight: bold;', 3 => 'color: #00CD00; font-weight: bold;', 4 => 'color: #00CD00; font-weight: bold;' ), 'COMMENTS' => array( 0 => 'color: #0000CD; font-style: italic;' ), 'ESCAPE_CHAR' => array( 0 => 'color: #000099; font-weight: bold;' ), 'BRACKETS' => array( 0 => 'color: #7a0874; font-weight: bold;' ), 'STRINGS' => array( 0 => 'color: #ff0000;' ), 'NUMBERS' => array( 0 => 'color: #000000;' ), 'METHODS' => array( ), 'SYMBOLS' => array( 0 => 'color: #000000; font-weight: bold;' ), 'REGEXPS' => array( 0 => 'color: #007800;', 1 => 'color: #007800;', 2 => 'color: #007800;', 3 => 'color: #808080; font-style: italic;', 4 => 'color: #007800;' ), 'SCRIPT' => array( ) ), 'URLS' => array( 1 => 'http://www.fvwm.org/doc/unstable/commands/{FNAME}.html', 2 => 'http://www.fvwm.org/doc/unstable/commands/Style.html#Style_{FNAME}', 3 => '' ), 'OOLANG' => false, 'OBJECT_SPLITTERS' => array( ), 'REGEXPS' => array( 0 => "\\$\\{[a-zA-Z_][a-zA-Z0-9_]*?\\}", 1 => "\\$[a-zA-Z_][a-zA-Z0-9_]*", 2 => "([a-zA-Z_][a-zA-Z0-9_]*)=", 3 => "(? "\\$[*#\$\\-\\?!]" ), 'STRICT_MODE_APPLIES' => GESHI_NEVER, 'SCRIPT_DELIMITERS' => array( ), 'HIGHLIGHT_STRICT_BLOCK' => array( ), 'PARSER_CONTROL' => array( 'COMMENTS' => array( 'DISALLOWED_BEFORE' => '$' ) ) ); ?>