mirror of
				https://github.com/Nioux/AideDeJeu.git
				synced 2025-10-29 22:45:44 +00:00 
			
		
		
		
	Correctif search
This commit is contained in:
		
							parent
							
								
									e86817b4a1
								
							
						
					
					
						commit
						51f7b985d9
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		|  | @ -48,6 +48,8 @@ namespace AideDeJeuLib | ||||||
|             { |             { | ||||||
|                 return GetChildren<ClassFeatureItem>(); |                 return GetChildren<ClassFeatureItem>(); | ||||||
|             } |             } | ||||||
|  |             private set | ||||||
|  |             { } | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         [YamlMember(Order = 15)] |         [YamlMember(Order = 15)] | ||||||
|  |  | ||||||
|  | @ -55,7 +55,7 @@ namespace AideDeJeu.ViewModels.Library | ||||||
|             public Item Item { get; set; } |             public Item Item { get; set; } | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         public string GetPreview(string markdown, string searchText) |         public static string GetPreview(string markdown, string searchText) | ||||||
|         { |         { | ||||||
|             int position = markdown.IndexOf(searchText); |             int position = markdown.IndexOf(searchText); | ||||||
|             int startPosition = Math.Max(0, position - 30); |             int startPosition = Math.Max(0, position - 30); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yan Maniez
						Yan Maniez