View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006099 | JEDI VCL | 00 JVCL Components | public | 2013-03-06 11:40 | 2014-12-04 16:29 |
Reporter | HHG | Assigned To | obones | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | suspended | ||
Product Version | 3.45 | ||||
Target Version | Fixed in Version | ||||
Summary | 0006099: Speech recognition in TJvRichEdit / TJvDBRichEdit | ||||
Description | SR doesn't work in TJvRichEdit / TJvDBRichEdit as it does in TJvEdit / TJvMemo. For each spoken word just one letter is shown as text. | ||||
Tags | No tags attached. | ||||
|
This also happens with handwriting (stylus) input. I was able to solve the problem by editing JvRichEdit.pas and commenting out the two message calls at the bottom of the EM_REPLACESEL message handler. These two messages would reselect and highlight text just pasted in. The handwriting input "pastes" text into the edit control in two steps, so these messages end up highlighting the first set of text and when the second-step "paste" happens, it's contents overwrite the first. Comment out these lines at the bottom of the JvRichEdit.pas EMReplaceSel() function: Perform(EM_EXSETSEL, 0, LPARAM(@CharRange)); Perform(Messages.EM_SCROLLCARET, 0, 0); If the original intent of these lines was to simulate a "persistent selection" they weren't working. With the code left in, I couldn't make the control do it. But more testing would be desirable. |
|
I have had a report about speech recognition being broken in JvRichEdit too (for jvcl 3.40). They also reported that it did work in an older version of my program from 2008 (jvcl version 3.33). Since I have a dutch version of Windows I can't install speech recognition and thus can't test it myself. |
|
Please try with the latest JVCL version in GIT (or daily zip) and then send us a zipped file containing the sources of an application showing the issue. |
|
No news, suspending the issue |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-03-06 11:40 | HHG | New Issue | |
2013-05-31 14:20 | nklein | Note Added: 0020523 | |
2013-06-25 12:02 | boerema1 | Note Added: 0020538 | |
2013-12-13 10:55 | obones | Note Added: 0020730 | |
2013-12-13 10:55 | obones | Status | new => feedback |
2014-12-04 16:29 | obones | Note Added: 0021104 | |
2014-12-04 16:29 | obones | Status | feedback => resolved |
2014-12-04 16:29 | obones | Resolution | open => suspended |
2014-12-04 16:29 | obones | Assigned To | => obones |