mirror of
				https://github.com/TheAnachronism/docspell.git
				synced 2025-10-30 21:40:12 +00:00 
			
		
		
		
	Preserve context highlighting from full-text search
When replacing changed cards the fulltext highlighting should be preserved from the original item.
This commit is contained in:
		| @@ -92,7 +92,7 @@ replaceIn origin replacements = | ||||
|         replaceItem item = | ||||
|             case Dict.get item.id newItems of | ||||
|                 Just ni -> | ||||
|                     ni | ||||
|                     { ni | highlighting = item.highlighting } | ||||
|  | ||||
|                 Nothing -> | ||||
|                     item | ||||
|   | ||||
		Reference in New Issue
	
	Block a user