To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113587





------- Additional comments from j...@openoffice.org Tue Aug 10 17:13:17 +0000 
2010 -------
tl, thanks for your post. You ask two questions:

BEHAVIOUR OF SENTENCE CASE

After writing a first draft for this reply, it occurred to me that, logically,
there's actually no reason to offer anything more complicated than capitalizing
the first word of the sentence, with everything else lowercase.

Two reasons:

1. Assuming that the main usage of Sentence case is to quickly correct blocks of
text in all-caps or in all lower-case, guessing the casing of proper nouns,
acronyms etc would be a cpu-heavy waste of resources, and pointless if the words
aren't in a dictionary. In other words, the user would likely have to correct
stuff manually anyway.

2. If the original text is mixed case (where some words are and should remain
capitalized, like proper nouns and acronyms), it's unlikely a user would want or
need to apply Sentence case, as the casing should, in theory, already be
correct! In other words, and conversely, you're unlikely to come across a block
of text whose sentences start with lowercase but which contain words that have
and should have caps.

Conclusion: keep it simple by just capitalizing the first letter of each 
sentence.

**********************************************

SELECTION SCOPE

I'd expect the selection(s) to (temporarily) expand to cover the entire 
sentence.

This is what I've implemented in a case toggling macro that applies my own
casing code: when it gets around to sentence case, it temporarily expands the
selections to entire sentences, before restoring the original selections. As I'm
not up to speed with textcursors and the like, I use temporary bookmarks to mark
the original selections (RegExp would have been easier, but kills character
formatting).

The advantage of selection expansion is apparent when applying a casing routine
to multiple selections. Instead of having to carefully select each sentence in
its entirety (and risk accidentally clearing all selections by misclicking and
having to start again), I can scoot through a document CTRL-clicking any bits of
those sentences, before firing off the macro.

Thanks again

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to