[Gambas-user] HOWTO:Add name to property tab
richard terry
rterry at ...1822...
Mon Jan 7 03:39:14 CET 2008
On Mon, 7 Jan 2008 12:17:06 pm you wrote:
Thanks,
Yes that work, and one can save the file, re-load with formatting intact. I've
set up a project where I can enter the text, and it auto-shows the html in an
adjacent window, lets you change the html and see the result back in the main
window. Would be a good html learning tool as you can see the result
instantly
Wonder if one can re-assign the key behaviour? which would solve the problem.
Might quickly join the qt list and see if they have any answers
Where can one get documentation about all these key presses for this control
anyway?
Also, is there a list of html that this control supports?
Also, another thing I can;t see how to do is to calculate where the cursor
position should be after one progamatically inserts text or pictures.
Any ideas?
Thanks for all your time on this, What did you think of the piccies?
> On lundi 7 janvier 2008, richard terry wrote:
> > I don't think it is a bug. It is simply conforming to html standard by
> > inserting a <p>. But if a you could have a function to make the control
> > insert a <br> instead of a <p> on hitting the <enter> key, then the
> > control can be used like a letter writer, where the user can add
> > sentances of any lengh he desires, without gaps in between the lines.
> >
> > For me the show stopper is being able to type in progress notes, where in
> > medicine we jot things down eg.
> >
> > complaining of right sided earache
> > O/E: red drum
> > Dx: otitis media
> > Rx:amoxycillin 500 tds
> > Review 10/7
> >
> > In the gambas control this would look like:
> >
> > complaining of right sided earache
> >
> > O/E: red drum
> >
> > Dx: otitis media
> >
> > Rx:amoxycillin 500 tds
> >
> > Review 10/7
> >
> > See the piccies included which illustrate this (especially the
> > side_by_side picture)
> >
> > Regards
> >
> >
> > Richard
>
> Apprently TextEdit works like a text writer: hitting ENTER inserts a
> paragraph break (<p>), and hitting CTRL+ENTER inserts a line break (<br>).
> I don't know why TextEdit.Clear() change the way paragraph breaks are
> displayed. Maybe a QT bug...
>
> Regards,
More information about the User
mailing list