Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 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 Changed 11 years ago by TicketCleanup

  • Version set to Other

Automatic ticket cleanup.

comment:2 Changed 11 years ago by Jos

  • Status changed from new to accepted

comment:3 Changed 11 years ago by Jos

  • Resolution set to Fixed
  • Status changed from accepted to closed

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

comment:4 Changed 11 years ago by mlipok

I confirm it works well.
Thanks.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain Jos.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.