mirror of
				https://github.com/Nioux/AideDeJeu.git
				synced 2025-11-04 01:00:23 +00:00 
			
		
		
		
	Compare commits
	
		
			No commits in common. "f700315e56b42b581599089122c6022d6a6847a2" and "a5b87be4295397378f7d5e5ad056f44a5130bf7d" have entirely different histories.
		
	
	
		
			f700315e56
			...
			a5b87be429
		
	
		
					 3 changed files with 4 additions and 2 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);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										2
									
								
								HD
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								HD
									
										
									
									
									
								
							| 
						 | 
					@ -1 +1 @@
 | 
				
			||||||
Subproject commit a552c89088511f1439ff6aae63291f9e9ec62359
 | 
					Subproject commit 90831ec160dc30a278a2dbc67e38328f76bf2020
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue