Home » U++ Library support » U++ Library : Other (not classified elsewhere) » [BROKEN PATCH] FileList file extension painting 
	
		
		
			| [BROKEN PATCH] FileList file extension painting [message #40397] | 
			Mon, 29 July 2013 23:34  | 
		 
		
			
				
				
				  | 
					
						  
						Klugier
						 Messages: 1106 Registered: September 2012  Location: Poland, Kraków 
						
					 | 
					Senior Contributor  | 
					 | 
		 
		 
	 | 
 
	
		BROKEN PATCH - THIS SOLUTION DOSE NOT INCLUDE POSIX HIDDEN FILES!!! 
 
| Quote: |  
  
Hello, 
 
I have noticed that FileList has problem with correct format coloring. It dosen't recognize correctly formats such as: "tar.gz" or "so.0.0.1". It only paints "gz" and "1". 
 
What we have to do is just replace one little line of code (CtrlLib/FileList.cpp - line 43): 
 
int extpos = (isdir ? -1 : mname.Find('.'));
 
 
And it seems the the same thing is in FileTabs (TabBar/FileTabs.cpp - line 31) 
int extpos = txt.Find('.');
 
 
Sincerely, 
Klugier 
  |   
		
		
  U++ - one framework to rule them all.
		[Updated on: Wed, 31 July 2013 22:44] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |   
Goto Forum:
 
 Current Time: Tue Nov 04 17:28:14 CET 2025 
 Total time taken to generate the page: 0.04765 seconds 
 |