mirror of
				https://github.com/notepad-plus-plus/notepad-plus-plus.git
				synced 2025-10-31 19:44:06 +01:00 
			
		
		
		
	Completely clear bookmarks when they are toggled off
It seems markers within Scintilla are not a true/false value but rather a counter. Closes #2366
This commit is contained in:
		
							parent
							
								
									7ee63496d3
								
							
						
					
					
						commit
						7853876faa
					
				| @ -538,7 +538,7 @@ private: | ||||
| 	{ | ||||
| 		if (lineno == -1) | ||||
| 			lineno = static_cast<int32_t>(_pEditView->getCurrentLineNumber()); | ||||
| 		if ( bookmarkPresent(lineno)) | ||||
| 		while (bookmarkPresent(lineno)) | ||||
| 			_pEditView->execute(SCI_MARKERDELETE, lineno, MARK_BOOKMARK); | ||||
| 	} | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user