mirror of
				https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
				synced 2025-10-29 17:25:32 +00:00 
			
		
		
		
	Setup Git Repository Parsing
This commit is contained in:
		| @@ -35,7 +35,7 @@ public class SearchRules { | ||||
|                     if (sb.Length >= sw.Length) { | ||||
|                         if (sb.ToString().Contains(sw)) { | ||||
|                             if (reader.State.Results == null) | ||||
|                                 reader.State.Results = new List<(string Page, string Line, string Identifier)>(); | ||||
|                                 reader.State.Results = new List<(string Page, string Line, string? Identifier)>(); | ||||
|                             reader.State.Results.Add((reader.CurrentPage, reader.CurrentLine, reader.State.CurrentIdentifier)); | ||||
|                         } | ||||
|                         sb.Remove(0, sb.Length - sw.Length); | ||||
|   | ||||
| @@ -7,7 +7,7 @@ public class SearchState : HaWeb.HTMLParser.IState { | ||||
|     internal string? CurrentIdentifier; | ||||
|     internal ILibrary? Lib; | ||||
|     internal bool Normalize; | ||||
|     internal List<(string Page, string Line, string Identifier)>? Results; | ||||
|     internal List<(string Page, string Line, string? Identifier)>? Results; | ||||
|  | ||||
|     public SearchState(string searchword, bool normalize = false, ILibrary? lib = null) { | ||||
|         Lib = lib; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Simon Martens
					Simon Martens