Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 is currently offline  Klugier
Messages: 627
Registered: September 2012
Location: Poland, Kraków
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



Ultimate++ - one framework to rule them all.

[Updated on: Wed, 31 July 2013 22:44]

Report message to a moderator

Previous Topic: [FIXED] FileSel KDE Port & FileSel MIME types handling improvement & More
Next Topic: The SoundExample can not recording sounds on WINDOWS
Goto Forum:
  


Current Time: Sun Sep 22 07:43:39 CEST 2019

Total time taken to generate the page: 0.01136 seconds