AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Notepad ++ code support
Goto page 1, 2  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
Kerry



Joined: 20 Jul 2006
Posts: 146
Location: Los Angeles

PostPosted: Sun Sep 03, 2006 8:35 am    Post subject: Notepad ++ code support Reply with quote

Hi,

I don't think it's been updated recently... or in the last couple of years, and there's several bugs in it. For instance, when you do /* */, it shows any code after it as comments out (green). Also, when you do something with a standard function it turns blue, but you can continue to type and it will always be blue.

For instance "Gui" turns blue

if you change it to "Guiasdasdasdasd" it is still blue. It would be helpful if this was fixed, as it's my favorite editor Smile.

-Kerryt


Last edited by Kerry on Mon Sep 04, 2006 9:25 pm; edited 1 time in total
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Sun Sep 03, 2006 9:32 am    Post subject: Reply with quote

Could you provide an improved "userDefineLang.xml"?
It is in "%AHKPath%\Extras\Editors\Notepad++". Or is the problem somewhere else?

Maybe you can create a script that creates this file automatically from the syntax files. I do not know if Chris updates it automatically. I found some words which have been added in v1.0.41. So it is not that old.
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Sun Sep 03, 2006 9:38 am    Post subject: Reply with quote

I just noticed that the "AHK Autohotkey.api" is ascii too. But it seems to be just commands. Please take a look if the problem is there?
Since TreeView is in the list, I guess it is automatically created and up to date.
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Kerry



Joined: 20 Jul 2006
Posts: 146
Location: Los Angeles

PostPosted: Sun Sep 03, 2006 11:09 am    Post subject: Reply with quote

Ok - I'll take a look.

-Kerry
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Kerry



Joined: 20 Jul 2006
Posts: 146
Location: Los Angeles

PostPosted: Mon Sep 04, 2006 10:58 am    Post subject: Reply with quote

Hi - fixed those two problems.

If you or Chris (if he reads this) could put this in the Notepad++ folder instead of the current one:

userDefineLang.xml

I did the necessary changes and it's doing much better now Smile

-Kerry
_________________
String Manipulator - GrabIco
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Mon Sep 04, 2006 11:08 am    Post subject: Reply with quote

Thanks,
If Chris doesn't post in a few days, send him a PM or email. I assume he will be happy about the improvements you made. Please describe the changes, if possible.
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Kerry



Joined: 20 Jul 2006
Posts: 146
Location: Los Angeles

PostPosted: Mon Sep 04, 2006 11:32 am    Post subject: Reply with quote

Sure - not sure if meant describe them here or not, but might as well

original
Code:

<NotepadPlus>
    <UserLang name="AHK Autohotkey" ext="ahk">
        <Settings>
            <Global caseIgnored="yes" />
            <TreatAsSymbol comment="no" commentLine="yes" />
            <Prefix words1="yes" words2="yes" words3="yes" words4="yes" />
        </Settings>
        <KeywordLists>
            <Keywords name="Delimiters">%00%00</Keywords>
            <Keywords name="Folder+">;***&#x0D;&#x0A;{</Keywords>
            <Keywords name="Folder-">;*&#x0D;&#x0A;}</Keywords>
            <Keywords name="Operators">&gt;</Keywords>
            <Keywords name="Comment">1/* 1 2*/ 2 0;</Keywords>
            <Keywords name="Words1">#AllowSameLineComments&#x0D;&#x0A;#ClipboardTimeout&#x0D;&#x0A;#CommentFlag&#x0D;&#x0A;#ErrorStdOut&#x0D;&#x0A;#EscapeChar&#x0D;&#x0A;#HotkeyInterval&#x0D;&#x0A;#HotkeyModIfierTimeout&#x0D;&#x0A;#Hotstring&#x0D;&#x0A;#Include&#x0D;&#x0A;#IncludeAgain&#x0D;&#x0A;#IfWinActive&#x0D;&#x0A;#IfWinExist&#x0D;&#x0A;#IfWinNotActive&#x0D;&#x0A;#IfWinNotExist&#x0D;&#x0A;#InstallKeybdHook&#x0D;&#x0A;#InstallMouseHook&#x0D;&#x0A;#KeyHistory&#x0D;&#x0A;#MaxHotkeysPerInterval&#x0D;&#x0A;#MaxMem&#x0D;&#x0A;#MaxThreads&#x0D;&#x0A;#MaxThreadsBuffer&#x0D;&#x0A;#MaxThreadsPerHotkey&#x0D;&#x0A;#NoEnv&#x0D;&#x0A;#NoTrayIcon&#x0D;&#x0A;#Persistent&#x0D;&#x0A;#SingleInstance&#x0D;&#x0A;#UseHook&#x0D;&#x0A;#WinActivateForce&#x0D;&#x0A;AutoTrim&#x0D;&#x0A;BlockInput&#x0D;&#x0A;Break&#x0D;&#x0A;Click&#x0D;&#x0A;ClipWait&#x0D;&#x0A;Continue&#x0D;&#x0A;Control&#x0D;&#x0A;ControlClick&#x0D;&#x0A;ControlFocus&#x0D;&#x0A;ControlGet&#x0D;&#x0A;ControlGetFocus&#x0D;&#x0A;ControlGetPos&#x0D;&#x0A;ControlGetText&#x0D;&#x0A;ControlMove&#x0D;&#x0A;ControlSend&#x0D;&#x0A;ControlSendRaw&#x0D;&#x0A;ControlSetText&#x0D;&#x0A;CoordMode&#x0D;&#x0A;Critical&#x0D;&#x0A;DetectHiddenText&#x0D;&#x0A;DetectHiddenWindows&#x0D;&#x0A;DllCall&#x0D;&#x0A;Drive&#x0D;&#x0A;DriveGet&#x0D;&#x0A;DriveSpaceFree&#x0D;&#x0A;Edit&#x0D;&#x0A;Else&#x0D;&#x0A;EndRepeat&#x0D;&#x0A;EnvAdd&#x0D;&#x0A;EnvDiv&#x0D;&#x0A;EnvGet&#x0D;&#x0A;EnvMult&#x0D;&#x0A;EnvSet&#x0D;&#x0A;EnvSub&#x0D;&#x0A;EnvUpdate&#x0D;&#x0A;Exit&#x0D;&#x0A;ExitApp&#x0D;&#x0A;FileAppend&#x0D;&#x0A;FileCopy&#x0D;&#x0A;FileCopyDir&#x0D;&#x0A;FileCreateDir&#x0D;&#x0A;FileCreateShortcut&#x0D;&#x0A;FileDelete&#x0D;&#x0A;FileGetAttrib&#x0D;&#x0A;FileGetShortcut&#x0D;&#x0A;FileGetSize&#x0D;&#x0A;FileGetTime&#x0D;&#x0A;FileGetVersion&#x0D;&#x0A;FileInstall&#x0D;&#x0A;FileMove&#x0D;&#x0A;FileMoveDir&#x0D;&#x0A;FileRead&#x0D;&#x0A;FileReadLine&#x0D;&#x0A;FileRecycle&#x0D;&#x0A;FileRecycleEmpty&#x0D;&#x0A;FileRemoveDir&#x0D;&#x0A;FileSelectFile&#x0D;&#x0A;FileSelectFolder&#x0D;&#x0A;FileSetAttrib&#x0D;&#x0A;FileSetTime&#x0D;&#x0A;FormatTime&#x0D;&#x0A;GetKeyState&#x0D;&#x0A;Gosub&#x0D;&#x0A;Goto&#x0D;&#x0A;GroupActivate&#x0D;&#x0A;GroupAdd&#x0D;&#x0A;GroupClose&#x0D;&#x0A;GroupDeactivate&#x0D;&#x0A;Gui&#x0D;&#x0A;GuiControl&#x0D;&#x0A;GuiControlGet&#x0D;&#x0A;HideAutoItWin&#x0D;&#x0A;Hotkey&#x0D;&#x0A;If&#x0D;&#x0A;IfEqual&#x0D;&#x0A;IfExist&#x0D;&#x0A;IfGreater&#x0D;&#x0A;IfGreaterOrEqual&#x0D;&#x0A;IfInString&#x0D;&#x0A;IfLess&#x0D;&#x0A;IfLessOrEqual&#x0D;&#x0A;IfMsgBox&#x0D;&#x0A;IfNotEqual&#x0D;&#x0A;IfNotExist&#x0D;&#x0A;IfNotInString&#x0D;&#x0A;IfWinActive&#x0D;&#x0A;IfWinExist&#x0D;&#x0A;IfWinNotActive&#x0D;&#x0A;IfWinNotExist&#x0D;&#x0A;ImageSearch&#x0D;&#x0A;IniDelete&#x0D;&#x0A;IniRead&#x0D;&#x0A;IniWrite&#x0D;&#x0A;Input&#x0D;&#x0A;InputBox&#x0D;&#x0A;IsLabel&#x0D;&#x0A;KeyHistory&#x0D;&#x0A;KeyWait&#x0D;&#x0A;ListHotkeys&#x0D;&#x0A;ListLines&#x0D;&#x0A;ListVars&#x0D;&#x0A;Loop&#x0D;&#x0A;Menu&#x0D;&#x0A;MouseClick&#x0D;&#x0A;MouseClickDrag&#x0D;&#x0A;MouseGetPos&#x0D;&#x0A;MouseMove&#x0D;&#x0A;MsgBox&#x0D;&#x0A;OnExit&#x0D;&#x0A;OnMessage&#x0D;&#x0A;OutputDebug&#x0D;&#x0A;Pause&#x0D;&#x0A;PixelGetColor&#x0D;&#x0A;Pixelsearch&#x0D;&#x0A;PostMessage&#x0D;&#x0A;Process&#x0D;&#x0A;Progress&#x0D;&#x0A;Random&#x0D;&#x0A;RegDelete&#x0D;&#x0A;RegRead&#x0D;&#x0A;RegWrite&#x0D;&#x0A;Reload&#x0D;&#x0A;Repeat&#x0D;&#x0A;Return&#x0D;&#x0A;Run&#x0D;&#x0A;RunAs&#x0D;&#x0A;RunWait&#x0D;&#x0A;Send&#x0D;&#x0A;SendMessage&#x0D;&#x0A;SendEvent&#x0D;&#x0A;SendInput&#x0D;&#x0A;SendMode&#x0D;&#x0A;SendPlay&#x0D;&#x0A;SendRaw&#x0D;&#x0A;SetBatchLines&#x0D;&#x0A;SetCapsLockState&#x0D;&#x0A;SetControlDelay&#x0D;&#x0A;SetDefaultMouseSpeed&#x0D;&#x0A;SetEnv&#x0D;&#x0A;SetFormat&#x0D;&#x0A;SetKeyDelay&#x0D;&#x0A;SetMouseDelay&#x0D;&#x0A;SetNumLockState&#x0D;&#x0A;SetScrollLockState&#x0D;&#x0A;SetStoreCapslockMode&#x0D;&#x0A;SetTimer&#x0D;&#x0A;SetTitleMatchMode&#x0D;&#x0A;SetWinDelay&#x0D;&#x0A;SetWorkingDir&#x0D;&#x0A;Shutdown&#x0D;&#x0A;Sleep&#x0D;&#x0A;Sort&#x0D;&#x0A;SoundBeep&#x0D;&#x0A;SoundGet&#x0D;&#x0A;SoundGetWaveVolume&#x0D;&#x0A;SoundPlay&#x0D;&#x0A;SoundSet&#x0D;&#x0A;SoundSetWaveVolume&#x0D;&#x0A;SplashImage&#x0D;&#x0A;SplashTextOff&#x0D;&#x0A;SplashTextOn&#x0D;&#x0A;SplitPath&#x0D;&#x0A;StatusBarGetText&#x0D;&#x0A;StatusBarWait&#x0D;&#x0A;StringCaseSense&#x0D;&#x0A;StringGetPos&#x0D;&#x0A;StringLeft&#x0D;&#x0A;StringLen&#x0D;&#x0A;StringLower&#x0D;&#x0A;StringMid&#x0D;&#x0A;StringReplace&#x0D;&#x0A;StringRight&#x0D;&#x0A;StringSplit&#x0D;&#x0A;StringTrimLeft&#x0D;&#x0A;StringTrimRight&#x0D;&#x0A;StringUpper&#x0D;&#x0A;Suspend&#x0D;&#x0A;SysGet&#x0D;&#x0A;Thread&#x0D;&#x0A;ToolTip&#x0D;&#x0A;Transform&#x0D;&#x0A;TrayTip&#x0D;&#x0A;URLDownloadToFile&#x0D;&#x0A;VarSetCapcity&#x0D;&#x0A;WinActivate&#x0D;&#x0A;WinActivateBottom&#x0D;&#x0A;WinClose&#x0D;&#x0A;WinGet&#x0D;&#x0A;WinGetActiveStats&#x0D;&#x0A;WinGetActiveTitle&#x0D;&#x0A;WinGetClass&#x0D;&#x0A;WinGetPos&#x0D;&#x0A;WinGetText&#x0D;&#x0A;WinGetTitle&#x0D;&#x0A;WinHide&#x0D;&#x0A;WinKill&#x0D;&#x0A;WinMaximize&#x0D;&#x0A;WinMenuSelectItem&#x0D;&#x0A;WinMinimize&#x0D;&#x0A;WinMinimizeAll&#x0D;&#x0A;WinMinimizeAllUndo&#x0D;&#x0A;WinMove&#x0D;&#x0A;WinRestore&#x0D;&#x0A;WinSet&#x0D;&#x0A;WinSetTitle&#x0D;&#x0A;WinShow&#x0D;&#x0A;WinWait&#x0D;&#x0A;WinWaitActive&#x0D;&#x0A;WinWaitClose&#x0D;&#x0A;WinWaitNotActive</Keywords>
            <Keywords name="Words2"></Keywords>
            <Keywords name="Words3">%A_&#x0D;&#x0A;A_AhkPath&#x0D;&#x0A;A_AhkVersion&#x0D;&#x0A;A_AppData&#x0D;&#x0A;A_AppDataCommon&#x0D;&#x0A;A_AutoTrim&#x0D;&#x0A;A_BatchLines&#x0D;&#x0A;A_CaretX&#x0D;&#x0A;A_CaretY&#x0D;&#x0A;A_ComputerName&#x0D;&#x0A;A_ControlDelay&#x0D;&#x0A;A_Cursor&#x0D;&#x0A;A_DD&#x0D;&#x0A;A_DDD&#x0D;&#x0A;A_DDDD&#x0D;&#x0A;A_DefaultMouseSpeed&#x0D;&#x0A;A_Desktop&#x0D;&#x0A;A_DesktopCommon&#x0D;&#x0A;A_DetectHiddenText&#x0D;&#x0A;A_DetectHiddenWindows&#x0D;&#x0A;A_EndChar&#x0D;&#x0A;A_ExitReason&#x0D;&#x0A;A_FormatFloat&#x0D;&#x0A;A_FormatInteger&#x0D;&#x0A;A_Gui&#x0D;&#x0A;A_GuiControl&#x0D;&#x0A;A_EventInfo&#x0D;&#x0A;A_GuiX&#x0D;&#x0A;A_GuiY&#x0D;&#x0A;A_GuiEvent&#x0D;&#x0A;A_GuiControlEvent&#x0D;&#x0A;A_GuiHeight&#x0D;&#x0A;A_GuiWidth&#x0D;&#x0A;A_Hour&#x0D;&#x0A;A_IconFile&#x0D;&#x0A;A_IconHidden&#x0D;&#x0A;A_IconNumber&#x0D;&#x0A;A_IconTip&#x0D;&#x0A;A_Index&#x0D;&#x0A;A_IPAddress1&#x0D;&#x0A;A_IPAddress2&#x0D;&#x0A;A_IPAddress3&#x0D;&#x0A;A_IPAddress4&#x0D;&#x0A;A_ISAdmin&#x0D;&#x0A;A_IsCompiled&#x0D;&#x0A;A_IsSuspended&#x0D;&#x0A;A_KeyDelay&#x0D;&#x0A;A_Language&#x0D;&#x0A;A_LastError&#x0D;&#x0A;A_LineNumber&#x0D;&#x0A;A_LineFile&#x0D;&#x0A;A_LoopField&#x0D;&#x0A;A_LoopFileAttrib&#x0D;&#x0A;A_LoopFileDir&#x0D;&#x0A;A_LoopFileExt&#x0D;&#x0A;A_LoopFileFullPath&#x0D;&#x0A;A_LoopFileLongPath&#x0D;&#x0A;A_LoopFileName&#x0D;&#x0A;A_LoopFileShortName&#x0D;&#x0A;A_LoopFileShortPath&#x0D;&#x0A;A_LoopFileSize&#x0D;&#x0A;A_LoopFileSizeKB&#x0D;&#x0A;A_LoopFileSizeMB&#x0D;&#x0A;A_LoopFileTimeAccessed&#x0D;&#x0A;A_LoopFileTimeCreated&#x0D;&#x0A;A_LoopFileTimeModified&#x0D;&#x0A;A_LoopReadLine&#x0D;&#x0A;A_LoopRegKey&#x0D;&#x0A;A_LoopRegName&#x0D;&#x0A;A_LoopRegSubkey&#x0D;&#x0A;A_LoopRegTimeModified&#x0D;&#x0A;A_LoopRegType&#x0D;&#x0A;A_MDAY&#x0D;&#x0A;A_Min&#x0D;&#x0A;A_MM&#x0D;&#x0A;A_MMM&#x0D;&#x0A;A_MMMM&#x0D;&#x0A;A_MON&#x0D;&#x0A;A_MouseDelay&#x0D;&#x0A;A_MyDocuments&#x0D;&#x0A;A_Now&#x0D;&#x0A;A_NowUTC&#x0D;&#x0A;A_NumBatchLines&#x0D;&#x0A;A_OSType&#x0D;&#x0A;A_OSVersion&#x0D;&#x0A;A_PriorHotkey&#x0D;&#x0A;ProgramFiles&#x0D;&#x0A;A_ProgramFiles&#x0D;&#x0A;A_Programs&#x0D;&#x0A;A_ProgramsCommon&#x0D;&#x0A;A_ScreenHeight&#x0D;&#x0A;A_ScreenWidth&#x0D;&#x0A;A_ScriptDir&#x0D;&#x0A;A_ScriptFullPath&#x0D;&#x0A;A_ScriptName&#x0D;&#x0A;A_Sec&#x0D;&#x0A;A_Space&#x0D;&#x0A;A_StartMenu&#x0D;&#x0A;A_StartMenuCommon&#x0D;&#x0A;A_Startup&#x0D;&#x0A;A_StartupCommon&#x0D;&#x0A;A_StringCaseSense&#x0D;&#x0A;A_Tab&#x0D;&#x0A;A_Temp&#x0D;&#x0A;A_ThisHotkey&#x0D;&#x0A;A_ThisMenu&#x0D;&#x0A;A_ThisMenuItem&#x0D;&#x0A;A_ThisMenuItemPos&#x0D;&#x0A;A_TickCount&#x0D;&#x0A;A_TimeIdle&#x0D;&#x0A;A_TimeIdlePhysical&#x0D;&#x0A;A_TimeSincePriorHotkey&#x0D;&#x0A;A_TimeSinceThisHotkey&#x0D;&#x0A;A_TitleMatchMode&#x0D;&#x0A;A_TitleMatchModeSpeed&#x0D;&#x0A;A_UserName&#x0D;&#x0A;A_WDay&#x0D;&#x0A;A_WinDelay&#x0D;&#x0A;A_WinDir&#x0D;&#x0A;A_WorkingDir&#x0D;&#x0A;A_YDay&#x0D;&#x0A;A_YEAR&#x0D;&#x0A;A_YWeek&#x0D;&#x0A;A_YYYY&#x0D;&#x0A;Clipboard&#x0D;&#x0A;ComSpec&#x0D;&#x0A;ErrorLevel&#x0D;&#x0A;True&#x0D;&#x0A;False&#x0D;&#x0A;</Keywords>
            <Keywords name="Words4"></Keywords>
        </KeywordLists>
        <Styles>
            <WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="FOLDEROPEN" styleID="12" fgColor="38B86B" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="38B86B" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="KEYWORD1" styleID="5" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="KEYWORD2" styleID="6" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="KEYWORD3" styleID="7" fgColor="FF8040" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="KEYWORD4" styleID="8" fgColor="38B86B" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="COMMENT" styleID="1" fgColor="38B86B" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="COMMENT LINE" styleID="2" fgColor="38B86B" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="NUMBER" styleID="4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="OPERATOR" styleID="10" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="DELIMINER1" styleID="14" fgColor="FF8040" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="DELIMINER2" styleID="15" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
        </Styles>
    </UserLang>
</NotepadPlus>


new code
Code:

<NotepadPlus>
    <UserLang name="AHK Autohotkey" ext="ahk">
        <Settings>
            <Global caseIgnored="yes" />
            <TreatAsSymbol comment="yes" commentLine="yes" />
            <Prefix words1="no" words2="no" words3="no" words4="no" />
        </Settings>
        <KeywordLists>
            <Keywords name="Delimiters">%00%00</Keywords>
            <Keywords name="Folder+">;***&#x0D;&#x0A;{</Keywords>
            <Keywords name="Folder-">;*&#x0D;&#x0A;}</Keywords>
            <Keywords name="Operators">&gt;</Keywords>
            <Keywords name="Comment"> 1/* 2*/ 0;</Keywords>
            <Keywords name="Words1">#AllowSameLineComments&#x0D;&#x0A;#ClipboardTimeout&#x0D;&#x0A;#CommentFlag&#x0D;&#x0A;#ErrorStdOut&#x0D;&#x0A;#EscapeChar&#x0D;&#x0A;#HotkeyInterval&#x0D;&#x0A;#HotkeyModIfierTimeout&#x0D;&#x0A;#Hotstring&#x0D;&#x0A;#Include&#x0D;&#x0A;#IncludeAgain&#x0D;&#x0A;#IfWinActive&#x0D;&#x0A;#IfWinExist&#x0D;&#x0A;#IfWinNotActive&#x0D;&#x0A;#IfWinNotExist&#x0D;&#x0A;#InstallKeybdHook&#x0D;&#x0A;#InstallMouseHook&#x0D;&#x0A;#KeyHistory&#x0D;&#x0A;#MaxHotkeysPerInterval&#x0D;&#x0A;#MaxMem&#x0D;&#x0A;#MaxThreads&#x0D;&#x0A;#MaxThreadsBuffer&#x0D;&#x0A;#MaxThreadsPerHotkey&#x0D;&#x0A;#NoEnv&#x0D;&#x0A;#NoTrayIcon&#x0D;&#x0A;#Persistent&#x0D;&#x0A;#SingleInstance&#x0D;&#x0A;#UseHook&#x0D;&#x0A;#WinActivateForce&#x0D;&#x0A;AutoTrim&#x0D;&#x0A;BlockInput&#x0D;&#x0A;Break&#x0D;&#x0A;Click&#x0D;&#x0A;ClipWait&#x0D;&#x0A;Continue&#x0D;&#x0A;Control&#x0D;&#x0A;ControlClick&#x0D;&#x0A;ControlFocus&#x0D;&#x0A;ControlGet&#x0D;&#x0A;ControlGetFocus&#x0D;&#x0A;ControlGetPos&#x0D;&#x0A;ControlGetText&#x0D;&#x0A;ControlMove&#x0D;&#x0A;ControlSend&#x0D;&#x0A;ControlSendRaw&#x0D;&#x0A;ControlSetText&#x0D;&#x0A;CoordMode&#x0D;&#x0A;Critical&#x0D;&#x0A;DetectHiddenText&#x0D;&#x0A;DetectHiddenWindows&#x0D;&#x0A;DllCall&#x0D;&#x0A;Drive&#x0D;&#x0A;DriveGet&#x0D;&#x0A;DriveSpaceFree&#x0D;&#x0A;Edit&#x0D;&#x0A;Else&#x0D;&#x0A;EndRepeat&#x0D;&#x0A;EnvAdd&#x0D;&#x0A;EnvDiv&#x0D;&#x0A;EnvGet&#x0D;&#x0A;EnvMult&#x0D;&#x0A;EnvSet&#x0D;&#x0A;EnvSub&#x0D;&#x0A;EnvUpdate&#x0D;&#x0A;Exit&#x0D;&#x0A;ExitApp&#x0D;&#x0A;FileAppend&#x0D;&#x0A;FileCopy&#x0D;&#x0A;FileCopyDir&#x0D;&#x0A;FileCreateDir&#x0D;&#x0A;FileCreateShortcut&#x0D;&#x0A;FileDelete&#x0D;&#x0A;FileGetAttrib&#x0D;&#x0A;FileGetShortcut&#x0D;&#x0A;FileGetSize&#x0D;&#x0A;FileGetTime&#x0D;&#x0A;FileGetVersion&#x0D;&#x0A;FileInstall&#x0D;&#x0A;FileMove&#x0D;&#x0A;FileMoveDir&#x0D;&#x0A;FileRead&#x0D;&#x0A;FileReadLine&#x0D;&#x0A;FileRecycle&#x0D;&#x0A;FileRecycleEmpty&#x0D;&#x0A;FileRemoveDir&#x0D;&#x0A;FileSelectFile&#x0D;&#x0A;FileSelectFolder&#x0D;&#x0A;FileSetAttrib&#x0D;&#x0A;FileSetTime&#x0D;&#x0A;FormatTime&#x0D;&#x0A;GetKeyState&#x0D;&#x0A;Gosub&#x0D;&#x0A;Goto&#x0D;&#x0A;GroupActivate&#x0D;&#x0A;GroupAdd&#x0D;&#x0A;GroupClose&#x0D;&#x0A;GroupDeactivate&#x0D;&#x0A;Gui&#x0D;&#x0A;GuiControl&#x0D;&#x0A;GuiControlGet&#x0D;&#x0A;HideAutoItWin&#x0D;&#x0A;Hotkey&#x0D;&#x0A;If&#x0D;&#x0A;IfEqual&#x0D;&#x0A;IfExist&#x0D;&#x0A;IfGreater&#x0D;&#x0A;IfGreaterOrEqual&#x0D;&#x0A;IfInString&#x0D;&#x0A;IfLess&#x0D;&#x0A;IfLessOrEqual&#x0D;&#x0A;IfMsgBox&#x0D;&#x0A;IfNotEqual&#x0D;&#x0A;IfNotExist&#x0D;&#x0A;IfNotInString&#x0D;&#x0A;IfWinActive&#x0D;&#x0A;IfWinExist&#x0D;&#x0A;IfWinNotActive&#x0D;&#x0A;IfWinNotExist&#x0D;&#x0A;ImageSearch&#x0D;&#x0A;IniDelete&#x0D;&#x0A;IniRead&#x0D;&#x0A;IniWrite&#x0D;&#x0A;Input&#x0D;&#x0A;InputBox&#x0D;&#x0A;IsLabel&#x0D;&#x0A;KeyHistory&#x0D;&#x0A;KeyWait&#x0D;&#x0A;ListHotkeys&#x0D;&#x0A;ListLines&#x0D;&#x0A;ListVars&#x0D;&#x0A;Loop&#x0D;&#x0A;Menu&#x0D;&#x0A;MouseClick&#x0D;&#x0A;MouseClickDrag&#x0D;&#x0A;MouseGetPos&#x0D;&#x0A;MouseMove&#x0D;&#x0A;MsgBox&#x0D;&#x0A;OnExit&#x0D;&#x0A;OnMessage&#x0D;&#x0A;OutputDebug&#x0D;&#x0A;Pause&#x0D;&#x0A;PixelGetColor&#x0D;&#x0A;Pixelsearch&#x0D;&#x0A;PostMessage&#x0D;&#x0A;Process&#x0D;&#x0A;Progress&#x0D;&#x0A;Random&#x0D;&#x0A;RegDelete&#x0D;&#x0A;RegRead&#x0D;&#x0A;RegWrite&#x0D;&#x0A;Reload&#x0D;&#x0A;Repeat&#x0D;&#x0A;Return&#x0D;&#x0A;Run&#x0D;&#x0A;RunAs&#x0D;&#x0A;RunWait&#x0D;&#x0A;Send&#x0D;&#x0A;SendMessage&#x0D;&#x0A;SendEvent&#x0D;&#x0A;SendInput&#x0D;&#x0A;SendMode&#x0D;&#x0A;SendPlay&#x0D;&#x0A;SendRaw&#x0D;&#x0A;SetBatchLines&#x0D;&#x0A;SetCapsLockState&#x0D;&#x0A;SetControlDelay&#x0D;&#x0A;SetDefaultMouseSpeed&#x0D;&#x0A;SetEnv&#x0D;&#x0A;SetFormat&#x0D;&#x0A;SetKeyDelay&#x0D;&#x0A;SetMouseDelay&#x0D;&#x0A;SetNumLockState&#x0D;&#x0A;SetScrollLockState&#x0D;&#x0A;SetStoreCapslockMode&#x0D;&#x0A;SetTimer&#x0D;&#x0A;SetTitleMatchMode&#x0D;&#x0A;SetWinDelay&#x0D;&#x0A;SetWorkingDir&#x0D;&#x0A;Shutdown&#x0D;&#x0A;Sleep&#x0D;&#x0A;Sort&#x0D;&#x0A;SoundBeep&#x0D;&#x0A;SoundGet&#x0D;&#x0A;SoundGetWaveVolume&#x0D;&#x0A;SoundPlay&#x0D;&#x0A;SoundSet&#x0D;&#x0A;SoundSetWaveVolume&#x0D;&#x0A;SplashImage&#x0D;&#x0A;SplashTextOff&#x0D;&#x0A;SplashTextOn&#x0D;&#x0A;SplitPath&#x0D;&#x0A;StatusBarGetText&#x0D;&#x0A;StatusBarWait&#x0D;&#x0A;StringCaseSense&#x0D;&#x0A;StringGetPos&#x0D;&#x0A;StringLeft&#x0D;&#x0A;StringLen&#x0D;&#x0A;StringLower&#x0D;&#x0A;StringMid&#x0D;&#x0A;StringReplace&#x0D;&#x0A;StringRight&#x0D;&#x0A;StringSplit&#x0D;&#x0A;StringTrimLeft&#x0D;&#x0A;StringTrimRight&#x0D;&#x0A;StringUpper&#x0D;&#x0A;Suspend&#x0D;&#x0A;SysGet&#x0D;&#x0A;Thread&#x0D;&#x0A;ToolTip&#x0D;&#x0A;Transform&#x0D;&#x0A;TrayTip&#x0D;&#x0A;URLDownloadToFile&#x0D;&#x0A;VarSetCapcity&#x0D;&#x0A;WinActivate&#x0D;&#x0A;WinActivateBottom&#x0D;&#x0A;WinClose&#x0D;&#x0A;WinGet&#x0D;&#x0A;WinGetActiveStats&#x0D;&#x0A;WinGetActiveTitle&#x0D;&#x0A;WinGetClass&#x0D;&#x0A;WinGetPos&#x0D;&#x0A;WinGetText&#x0D;&#x0A;WinGetTitle&#x0D;&#x0A;WinHide&#x0D;&#x0A;WinKill&#x0D;&#x0A;WinMaximize&#x0D;&#x0A;WinMenuSelectItem&#x0D;&#x0A;WinMinimize&#x0D;&#x0A;WinMinimizeAll&#x0D;&#x0A;WinMinimizeAllUndo&#x0D;&#x0A;WinMove&#x0D;&#x0A;WinRestore&#x0D;&#x0A;WinSet&#x0D;&#x0A;WinSetTitle&#x0D;&#x0A;WinShow&#x0D;&#x0A;WinWait&#x0D;&#x0A;WinWaitActive&#x0D;&#x0A;WinWaitClose&#x0D;&#x0A;WinWaitNotActive</Keywords>
            <Keywords name="Words2"></Keywords>
            <Keywords name="Words3">%A_&#x0D;&#x0A;A_AhkPath&#x0D;&#x0A;A_AhkVersion&#x0D;&#x0A;A_AppData&#x0D;&#x0A;A_AppDataCommon&#x0D;&#x0A;A_AutoTrim&#x0D;&#x0A;A_BatchLines&#x0D;&#x0A;A_CaretX&#x0D;&#x0A;A_CaretY&#x0D;&#x0A;A_ComputerName&#x0D;&#x0A;A_ControlDelay&#x0D;&#x0A;A_Cursor&#x0D;&#x0A;A_DD&#x0D;&#x0A;A_DDD&#x0D;&#x0A;A_DDDD&#x0D;&#x0A;A_DefaultMouseSpeed&#x0D;&#x0A;A_Desktop&#x0D;&#x0A;A_DesktopCommon&#x0D;&#x0A;A_DetectHiddenText&#x0D;&#x0A;A_DetectHiddenWindows&#x0D;&#x0A;A_EndChar&#x0D;&#x0A;A_ExitReason&#x0D;&#x0A;A_FormatFloat&#x0D;&#x0A;A_FormatInteger&#x0D;&#x0A;A_Gui&#x0D;&#x0A;A_GuiControl&#x0D;&#x0A;A_EventInfo&#x0D;&#x0A;A_GuiX&#x0D;&#x0A;A_GuiY&#x0D;&#x0A;A_GuiEvent&#x0D;&#x0A;A_GuiControlEvent&#x0D;&#x0A;A_GuiHeight&#x0D;&#x0A;A_GuiWidth&#x0D;&#x0A;A_Hour&#x0D;&#x0A;A_IconFile&#x0D;&#x0A;A_IconHidden&#x0D;&#x0A;A_IconNumber&#x0D;&#x0A;A_IconTip&#x0D;&#x0A;A_Index&#x0D;&#x0A;A_IPAddress1&#x0D;&#x0A;A_IPAddress2&#x0D;&#x0A;A_IPAddress3&#x0D;&#x0A;A_IPAddress4&#x0D;&#x0A;A_ISAdmin&#x0D;&#x0A;A_IsCompiled&#x0D;&#x0A;A_IsSuspended&#x0D;&#x0A;A_KeyDelay&#x0D;&#x0A;A_Language&#x0D;&#x0A;A_LastError&#x0D;&#x0A;A_LineNumber&#x0D;&#x0A;A_LineFile&#x0D;&#x0A;A_LoopField&#x0D;&#x0A;A_LoopFileAttrib&#x0D;&#x0A;A_LoopFileDir&#x0D;&#x0A;A_LoopFileExt&#x0D;&#x0A;A_LoopFileFullPath&#x0D;&#x0A;A_LoopFileLongPath&#x0D;&#x0A;A_LoopFileName&#x0D;&#x0A;A_LoopFileShortName&#x0D;&#x0A;A_LoopFileShortPath&#x0D;&#x0A;A_LoopFileSize&#x0D;&#x0A;A_LoopFileSizeKB&#x0D;&#x0A;A_LoopFileSizeMB&#x0D;&#x0A;A_LoopFileTimeAccessed&#x0D;&#x0A;A_LoopFileTimeCreated&#x0D;&#x0A;A_LoopFileTimeModified&#x0D;&#x0A;A_LoopReadLine&#x0D;&#x0A;A_LoopRegKey&#x0D;&#x0A;A_LoopRegName&#x0D;&#x0A;A_LoopRegSubkey&#x0D;&#x0A;A_LoopRegTimeModified&#x0D;&#x0A;A_LoopRegType&#x0D;&#x0A;A_MDAY&#x0D;&#x0A;A_Min&#x0D;&#x0A;A_MM&#x0D;&#x0A;A_MMM&#x0D;&#x0A;A_MMMM&#x0D;&#x0A;A_MON&#x0D;&#x0A;A_MouseDelay&#x0D;&#x0A;A_MyDocuments&#x0D;&#x0A;A_Now&#x0D;&#x0A;A_NowUTC&#x0D;&#x0A;A_NumBatchLines&#x0D;&#x0A;A_OSType&#x0D;&#x0A;A_OSVersion&#x0D;&#x0A;A_PriorHotkey&#x0D;&#x0A;ProgramFiles&#x0D;&#x0A;A_ProgramFiles&#x0D;&#x0A;A_Programs&#x0D;&#x0A;A_ProgramsCommon&#x0D;&#x0A;A_ScreenHeight&#x0D;&#x0A;A_ScreenWidth&#x0D;&#x0A;A_ScriptDir&#x0D;&#x0A;A_ScriptFullPath&#x0D;&#x0A;A_ScriptName&#x0D;&#x0A;A_Sec&#x0D;&#x0A;A_Space&#x0D;&#x0A;A_StartMenu&#x0D;&#x0A;A_StartMenuCommon&#x0D;&#x0A;A_Startup&#x0D;&#x0A;A_StartupCommon&#x0D;&#x0A;A_StringCaseSense&#x0D;&#x0A;A_Tab&#x0D;&#x0A;A_Temp&#x0D;&#x0A;A_ThisHotkey&#x0D;&#x0A;A_ThisMenu&#x0D;&#x0A;A_ThisMenuItem&#x0D;&#x0A;A_ThisMenuItemPos&#x0D;&#x0A;A_TickCount&#x0D;&#x0A;A_TimeIdle&#x0D;&#x0A;A_TimeIdlePhysical&#x0D;&#x0A;A_TimeSincePriorHotkey&#x0D;&#x0A;A_TimeSinceThisHotkey&#x0D;&#x0A;A_TitleMatchMode&#x0D;&#x0A;A_TitleMatchModeSpeed&#x0D;&#x0A;A_UserName&#x0D;&#x0A;A_WDay&#x0D;&#x0A;A_WinDelay&#x0D;&#x0A;A_WinDir&#x0D;&#x0A;A_WorkingDir&#x0D;&#x0A;A_YDay&#x0D;&#x0A;A_YEAR&#x0D;&#x0A;A_YWeek&#x0D;&#x0A;A_YYYY&#x0D;&#x0A;Clipboard&#x0D;&#x0A;ComSpec&#x0D;&#x0A;ErrorLevel&#x0D;&#x0A;True&#x0D;&#x0A;False&#x0D;&#x0A;</Keywords>
            <Keywords name="Words4"></Keywords>
        </KeywordLists>
        <Styles>
            <WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="FOLDEROPEN" styleID="12" fgColor="38B86B" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="38B86B" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="KEYWORD1" styleID="5" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="KEYWORD2" styleID="6" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="KEYWORD3" styleID="7" fgColor="FF8040" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="KEYWORD4" styleID="8" fgColor="38B86B" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="COMMENT" styleID="1" fgColor="38B86B" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="COMMENT LINE" styleID="2" fgColor="38B86B" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="NUMBER" styleID="4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="OPERATOR" styleID="10" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="DELIMINER1" styleID="14" fgColor="FF8040" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="DELIMINER2" styleID="15" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
        </Styles>
    </UserLang>
</NotepadPlus>


I noticed that the semi colon was treated as a symbol, and the /* */ weren't, so I changed that.

The prefix is what messed up and made

gui blue, as well as
guiasdklasd

because it acted as a prefix, as long as it was in the word then it would turn blue, so I got rid of all that.

the comments had spaces in them, in other words, the comment was "/* " and "*/ " I removed the spaces, which reflects in the change of numbers
"1/* 1 2*/ 2 0;" to " 1/* 2*/ 0;"

-Kerry
_________________
String Manipulator - GrabIco
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Mon Sep 04, 2006 11:43 am    Post subject: Reply with quote

Argh, Yet Another Super-Scrolling Topic (YASST)...
I suppose you don't have choice, if that's the format of the XML file.
BTW, what is this Noepad++ editor? I didn't knew it.
Oh, it seems to be Notepad++...
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Tue Sep 05, 2006 1:02 am    Post subject: Reply with quote

Thanks for the updated file. It will be included in the next release.
Back to top
View user's profile Send private message Send e-mail
Mistrel



Joined: 12 Sep 2005
Posts: 188

PostPosted: Tue Sep 05, 2006 8:49 am    Post subject: Reply with quote

..

I've been scripting AHK in EditPlus all this time and I never knew about this directory until now.

Btw, in EditPlus if I put a (;) comment on the same line as a (example:) subroutine, the comment stays red and does not turn green.

It also thinks that when I use (gui :#) I'm calling a sunroutine and makes it red.

In NotePad++ when using the expression method of "%", everything after the symbol is orange until it hits another lone % symbol.
Back to top
View user's profile Send private message
Kerry



Joined: 20 Jul 2006
Posts: 146
Location: Los Angeles

PostPosted: Tue Sep 05, 2006 10:11 am    Post subject: Reply with quote

I'm aware Kahz Smile but unfortunately I don't think Notepad++ supports a way to fix that
_________________
String Manipulator - GrabIco
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Mistrel



Joined: 12 Sep 2005
Posts: 188

PostPosted: Tue Sep 05, 2006 10:17 am    Post subject: Reply with quote

I like EditPlus's method of conforming to AHK's style and syntax better than NotePad++. I just they would add way to collapse code with those nifty [ + ] things that NotePad has.
Back to top
View user's profile Send private message
theMightyjD



Joined: 10 Aug 2006
Posts: 18

PostPosted: Thu Sep 14, 2006 4:55 pm    Post subject: Reply with quote

With the following code, only the first variable appears orange:

FileAppend, %A_Now%|%A_UserName%|%myVar1%|%myVar2%`n, out.txt

Notepad++ v3.6
AHK v10.0.44.12
Back to top
View user's profile Send private message
bluedawn
Guest





PostPosted: Sat Nov 18, 2006 8:48 pm    Post subject: Reply with quote

theMightyjD wrote:
With the following code, only the first variable appears orange:

FileAppend, %A_Now%|%A_UserName%|%myVar1%|%myVar2%`n, out.txt


comma and (|) should be defined as an operator to seperate a unit. with the offered xml, the code will appear like this:
FileAppend, %A_Now%|%A_UserName%|%myVar1%|%myVar2%`n, out.txt

to fix it, edit the 12nd line of userDefineLang.xml like this:
Code:
<Keywords name="Operators">- ! &amp; ( ) , | + &lt; = &gt;</Keywords>


now you may see
FileAppend, %A_Now%|%A_UserName%|%myVar1%|%myVar2%`n, out.txt
Back to top
bluedawn
Guest





PostPosted: Sat Nov 18, 2006 8:59 pm    Post subject: Reply with quote

sorry about double posting. i hate myself. Crying or Very sad
and userDefineLang.xml :
Code:
<Keywords name="Operators">- ! &amp; ( ) , | + &lt; = &gt;</Keywords>
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group