Modify ↓
#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 , 12 years ago
| Version: | → Other |
|---|
comment:2 by , 12 years ago
| Status: | new → accepted |
|---|
comment:3 by , 12 years ago
| Resolution: | → Fixed |
|---|---|
| Status: | accepted → closed |
Uploaded a fixed SciLexer.dll and SciTE.exe to the beta directory.
Note:
See TracTickets
for help on using tickets.

Automatic ticket cleanup.