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 » LineEdit, EditFields, DocEdit » filtering characters in the EditString [SOLVED...]
Re: filtering characters in the EditString [message #2509 is a reply to message #2504] Sun, 16 April 2006 04:01 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
First of all, the topic was in a wrong category -theIDE. This is a library question.
Second thing, I suggest you to learn Ctrl_Shift_F for "spying" packages for examples of usages.(candidate No1- ...ide Smile ) Double click on console result brings you to the appropriate file.
If you can't find anything usefull then ask if it exists (maybe under a different name).
If you find something similar try to check if this is just very easy to adapt to your case.

But when I did spying for you with "Filter", I've found that there is StrUtil.cpp with some similar functions.

e.g
D:\Devel_upp\uppsrc\ide\idewin.cpp(729):      ide.mainconfigparam = Filter(~arg[i] + 1, CommaSpace);

then jumping with "Go to derfinition" from CommaSpace,
ide brought me to idewin.cpp
int CommaSpace(int c)
{
	return c == ',' ? ' ' : c;
}


Maybe you can use them easily?
Edit: If not, show why not and apply on library wishlist... Smile

[Updated on: Sun, 16 April 2006 04:05]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Shift-Backspace should also delete in TextCtrls [FIXED][ADDED]
Next Topic: Which widget can show text with fixed font?
Goto Forum:
  


Current Time: Thu May 16 22:03:49 CEST 2024

Total time taken to generate the page: 0.03224 seconds