Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#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 TicketCleanup, 12 years ago

Version: Other

Automatic ticket cleanup.

comment:2 by Jos, 12 years ago

Status: newaccepted

comment:3 by Jos, 12 years ago

Resolution: Fixed
Status: acceptedclosed

Uploaded a fixed SciLexer.dll and SciTE.exe to the beta directory.

comment:4 by mlipok, 12 years ago

I confirm it works well.
Thanks.

Modify Ticket

Action
as closed The owner will remain Jos.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.