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   |
 |
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 ) 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...
[Updated on: Sun, 16 April 2006 04:05] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat Apr 26 01:21:30 CEST 2025
Total time taken to generate the page: 0.02013 seconds
|