[Gambas-user] Textedit and Spell checking
richard terry
rterry at ...1822...
Sat Mar 29 04:47:00 CET 2008
On Sat, 29 Mar 2008 01:32:35 pm Rob wrote:
> On Friday 28 March 2008 22:13, richard terry wrote:
> > I think its a bit this control generates a <p> when the enter key
> > is pressed and not a <br>. I seem to vaguely remember benoit saying
> > there was no way to intercept and change this.
>
> Most rich text editors (like word processors) seem to do this,
> probably because styles are usually applied paragraph by paragraph
> and not line by line, but it ought to be possible to insert a line
> break (which does not create a new paragraph, logically speaking,
> even if you insert two of them) using control-enter or shift-enter.
Using ctrl<enter> is pain because of the key positioning. In medical notes we
more often than not write short notes, rather than paragraphs, and hitting
the enter key like in a plain text editor is the logical and quick thing to
do eg.
C/0 headache, sore throat
O/E: tonsils pus +++
Rx: penV tabs
Rv: if needed
in that control this ends up like this:
C/0 headache, sore throat
O/E: tonsils pus +++
Rx: penV tabs
Rv: if needed
Which is a major pain when you save the html for re-presentation in (my case)
a person's progress notes.
I wonder if the code of the underlying control could be modified to send a
<br> instead of a <p>
REgards
Richard
>
> Rob
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplac
>e _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
More information about the User
mailing list