Page 3 of 4
Re: TextEditGadgetEx resize scaling zoom
Posted: Sun Apr 10, 2011 4:08 am
by Kwai chang caine
Waoouuuhh !!! cool effect

That's works on XP Pro, just a little flikering when i resize the windows, but the size of the text follow the size of windows
Great great job IDLE, thanks a lot for this magical code
Edit:
I have try again more your jewel
I have disabled the *tg2 and *tg3 for just keep the *tg1 (My favorite

)
I have always a little flikering at the resize and i have another little problem
The resizing don't respect the primary size of the character.
1/ If i choose a size 10 at the beginning (for exampler)
2/ i resize very very little and the resizing of the character stop at a moment, the resizing of windows continue but the characters it is not little little like just a point
3/ And when i resize the windows more biggest, the characters is very very big, not return to the original size for the original windows size
It's difficult to explain to you, i hope you have understanding

Re: TextEditGadgetEx resize scaling zoom
Posted: Sun Apr 10, 2011 4:40 am
by idle
Thanks, I've just fixed the text scale bug will repost the code in a moment
Also fixed the start of line bug. if you deleted back to the start of the line it would print the return char on windows or garbage on linux
Re: TextEditGadgetEx resize scaling zoom
Posted: Tue Apr 12, 2011 12:21 am
by idle
Think I've got rid of the bugs now.
Re: TextEditGadgetEx resize scaling zoom
Posted: Wed Apr 13, 2011 5:42 pm
by Kwai chang caine
Furthermore of the old bugs i have found an error line
Code: Select all
If StartDrawing(ImageOutput(*this\textimg))
when i resize the windows at the minimum (size zero)
you say to me, it's sure the characters is not readable at this size

Re: TextEditGadgetEx resize scaling zoom
Posted: Wed Apr 13, 2011 6:13 pm
by idle
Done will repost
Re: TextEditGadgetEx resize scaling zoom
Posted: Sat Apr 23, 2011 11:50 pm
by idle
v 0.55
Changed navigation to single letters
Added delete key
Changed font sizing
Re: TextEditGadgetEx resize scaling zoom select copy paste
Posted: Tue May 03, 2011 5:43 am
by idle
v.56a
tab
mouse selection
clipboard function for text only copies and pastes unformatted text to from external apps
copies and pastes formated text internally between gadgets
Select all ctrl+ A
Copy ctrl + C
Paste ctrl + V
Please report any bugs, I can only test the code on Linux and XP
Re: TextEditGadgetEx resize scaling zoom select copy paste
Posted: Tue May 03, 2011 8:54 am
by c4s
I get an IMA on line 932 (Box(*this\ltype()...) when auto-scrolling of the right text was activated and then clicked on close.
Re: TextEditGadgetEx resize scaling zoom select copy paste
Posted: Tue May 03, 2011 10:27 am
by idle
Thanks, I've got no idea why it would do that at the moment
have added a sanity check to the ClearSelection, should fix it.
What OS version were you running?
Re: TextEditGadgetEx resize scaling zoom select copy paste
Posted: Tue May 03, 2011 12:12 pm
by c4s
I tested it with 4.51 x86 on XP SP3.
Re: TextEditGadgetEx PB 4.60
Posted: Fri May 06, 2011 5:14 am
by idle
Changed it to use the Canvas Gadget PB 4.60 only
Re: TextEditGadgetEx PB 4.60
Posted: Sat May 07, 2011 6:55 am
by idle
Added a glyph cache to speed up resizing.
fixed reverse selection copy.
Next update will include a user configurable syntax highlighter, though it's a couple of days away.
Re: TextEditGadgetEx PB 4.60
Posted: Sat May 28, 2011 2:58 am
by idle
fixed Tab key input on windows
if something doesn't work please take a moment to say it doesn't work, it won't get fixed otherwise

Re: TextEditGadgetEx PB 4.60
Posted: Mon Sep 19, 2011 6:12 pm
by X
I see the background image. Any chance on regular images? Insert image at a certain location? * emoticons come to mind *
Re: TextEditGadgetEx PB 4.60
Posted: Tue Sep 20, 2011 9:10 pm
by idle
X look at Graph100's custom gadget it may support images by now.
http://www.purebasic.fr/french/viewtopi ... =6&t=12125
It'd be fairly simple to add static emoticons inline, if I get the chance, I'll look at it later in the week.