Opened on Oct 8, 2013 at 1:08:42 PM
Closed on Oct 10, 2013 at 8:14:43 PM
Last modified on Oct 11, 2013 at 12:22:43 AM
#2501 closed Bug (Fixed)
SciTE lexer - syntax coloring - bug
| Reported by: | mlipok | Owned by: | Jos |
|---|---|---|---|
| Milestone: | Component: | SciTE4AutoIt | |
| Version: | Other | Severity: | None |
| Keywords: | Cc: |
Description
SciTe version 3.3.5.0 date 2013/09/28
Repro code:
Func _CertMgr_Usun_certyfikat()
Local $fCertMgr
$fCertMgr = @SystemDir & '\certmgr.msc'
ShellExecute($fCertMgr)
WinWait('[REGEXPTITLE:(certmgr|Certyfikaty)]')
Sleep(100)
Send('{Down}')
Sleep(100)
Send('{Down}')
Sleep(100)
Send('{Right}')
Sleep(100)
Send('{Down}')
Sleep(3000)
$hlistview = ControlGetHandle('certmgr', '', 'SysListView321')
$iListView = _GUICtrlListView_FindText($hlistview, 'PROD-NPI')
If $iListView >= 0 Then
_GUICtrlListView_ClickItem($hlistview, $iListView, 'right')
Sleep(100)
Send('u')
WinWait('Certyfikaty', 'Usunięcie certyfikatów')
SendKeepActive('Certyfikaty', 'Usunięcie certyfikatów')
Send('!t')
WinWaitClose('Certyfikaty', 'Usunięcie certyfikatów')
WinWait('Główny magazyn certyfikatów', 'Czy chcesz USUNĄĆ')
SendKeepActive('Główny magazyn certyfikatów', 'Czy chcesz USUNĄĆ')
Send('!t')
WinWaitClose('Główny magazyn certyfikatów', 'Czy chcesz USUNĄĆ')
EndIf
SendKeepActive('certmgr')
Send('!{F4}')
WinWaitClose('certmgr')
EndFunc ;==>_CertMgr_Usun_certyfikat
;######################################################################################################################################
How to:
use CTRL+F to find:
('certmgr'
use CTRL+R to replace
search string:
('certmgr'
replace string:
('[REGEXPTITLE:(certmgr|Certyfikaty)]'
REMARKS:
use Option: "Replace" do not use "Replace all"
Explanations:
As you can see all the text from the site found a string, takes the color of the previous keyword in this case, the color dark blue for the keyword: ControlGetHandle.
Attachments (0)
Change History (4)
comment:1 by , on Oct 8, 2013 at 2:00:01 PM
| Version: | → Other |
|---|
comment:2 by , on Oct 9, 2013 at 6:57:32 PM
| Status: | new → accepted |
|---|
comment:3 by , on Oct 10, 2013 at 8:14:43 PM
| Resolution: | → Fixed |
|---|---|
| Status: | accepted → closed |
Uploaded a fixed SciLexer.dll and SciTE.exe to the beta directory.

Automatic ticket cleanup.