mirror of
				https://github.com/notepad-plus-plus/notepad-plus-plus.git
				synced 2025-10-31 19:44:06 +01:00 
			
		
		
		
	Fix brace match not working in Large File Restriction
Fix also the highlight remaining issue while Large File Restriction disabled.
This commit is contained in:
		
							parent
							
								
									6755daf223
								
							
						
					
					
						commit
						7e080a46bb
					
				| @ -902,7 +902,7 @@ BOOL Notepad_plus::notify(SCNotification *notification) | ||||
| 				xmlTagMatchHiliter.tagMatch(nppGui._enableTagAttrsHilite); | ||||
| 			} | ||||
| 			 | ||||
| 			if (nppGui._enableSmartHilite && !currentBuf->allowSmartHilite()) | ||||
| 			if (nppGui._enableSmartHilite && currentBuf->allowSmartHilite()) | ||||
| 			{ | ||||
| 				if (nppGui._disableSmartHiliteTmp) | ||||
| 					nppGui._disableSmartHiliteTmp = false; | ||||
|  | ||||
| @ -5014,6 +5014,12 @@ intptr_t CALLBACK PerformanceSubDlg::run_dlgProc(UINT message , WPARAM wParam, L | ||||
| 					::EnableWindow(::GetDlgItem(_hSelf, IDC_CHECK_PERFORMANCE_DEACTIVATEWORDWRAP), largeFileRestrictionEnabled); | ||||
| 
 | ||||
| 					redraw(); | ||||
| 
 | ||||
| 					if (largeFileRestrictionEnabled) | ||||
| 					{ | ||||
| 						::SendMessage(::GetParent(_hParent), NPPM_INTERNAL_CLEANSMARTHILITING, 0, 0); | ||||
| 						::SendMessage(::GetParent(_hParent), NPPM_INTERNAL_CLEANBRACEMATCH, 0, 0); | ||||
| 					} | ||||
| 				} | ||||
| 				return TRUE; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user