Allow "stop" characters to be configured for double-clicking to select a phrase
Are you missing a feature? Request its implementation here.
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Allow "stop" characters to be configured for double-clicking to select a phrase
Post by chrispitude »
When I double-click in the Oxygen editor, it selects a phrase for me. Currently, this phrase selection stops at underscores. However, I would like it to select through underscores, as almost all the labels we wrap in <codeph> in our documentation have underscores in the names.
It would be very useful to configure what character classes to *include* in phase selection, such as
[a-z][A-Z][0-9]_
or similar.
It would be very useful to configure what character classes to *include* in phase selection, such as
[a-z][A-Z][0-9]_
or similar.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Allow "stop" characters to be configured for double-clicking to select a phrase
Hi Chris,
I added an internal issue with ID EXM-45612 to consider this. As this enhancement has not been asked before I'm not sure of a timeline in which it will get done. I think such a behavior could also be implemented with a plugin though. We have API to register mouse listeners.
Why do you usually select the label from inside the codeph? Do you do that to copy it somewhere else? Do you want to copy only the label or the entire codeph?
Regards,
Radu
I added an internal issue with ID EXM-45612 to consider this. As this enhancement has not been asked before I'm not sure of a timeline in which it will get done. I think such a behavior could also be implemented with a plugin though. We have API to register mouse listeners.
Why do you usually select the label from inside the codeph? Do you do that to copy it somewhere else? Do you want to copy only the label or the entire codeph?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: Allow "stop" characters to be configured for double-clicking to select a phrase
Post by chrispitude »
Hi Radu,
Thanks for the reply and thought. It's more that we select the label text to wrap it in <codeph> (or another) tag. Or we might want to copy/paste the label into another window to search internal documentation or paste it into a terminal window. From a broad perspective, underscores are simply a part of content names we work with on a daily basis.
For instance, we might type
and now we want to wrap both -dont_check_temporary_cells and check_design_legality in <codeph>. (As I type this, I realize that having control over whether hyphens stop the selection or not is also useful!)
Thanks for the reply and thought. It's more that we select the label text to wrap it in <codeph> (or another) tag. Or we might want to copy/paste the label into another window to search internal documentation or paste it into a terminal window. From a broad perspective, underscores are simply a part of content names we work with on a daily basis.
For instance, we might type
Code: Select all
Use the -dont_check_temporary_cells option of the check_design_legality command to ignore these cells during the check.
-
- Posts: 83
- Joined: Fri Sep 17, 2004 10:53 am
- Location: Prague, the Czech Republic, Europe
Re: Allow "stop" characters to be configured for double-clicking to select a phrase
...I am voting for such feature too. I prefer total configuration (option) freedom for users in such a way, that there will be two RegEx-s in menu -> Options -> Preferences -> Editor -> ...???:chrispitude wrote: ↑Mon May 11, 2020 8:58 pm When I double-click in the Oxygen editor, it selects a phrase for me. Currently, this phrase selection stops at underscores. It would be very useful to configure what character classes to *include* in phase selection, such as
[a-z][A-Z][0-9]_
RegExBeforeCursor and RegExAfterCursor
So the user can choose even if some character or sequence of characters will be included from left side of the mouse cursonr and the same or other ones from right side of the mouse cursor.
Thank You in advance, Stepan
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Allow "stop" characters to be configured for double-clicking to select a phrase
Hi,
I added your suggestion on the opened issue.
For this particular thread the opened internal issue is related to how double clicking works in the Author visual editing mode. Are you editing the content in the Text or Author modes?
Regards,
Radu
I added your suggestion on the opened issue.
For this particular thread the opened internal issue is related to how double clicking works in the Author visual editing mode. Are you editing the content in the Text or Author modes?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 83
- Joined: Fri Sep 17, 2004 10:53 am
- Location: Prague, the Czech Republic, Europe
Re: Allow "stop" characters to be configured for double-clicking to select a phrase
> Are you editing the content in the Text or Author modes?
...Only in TEXT mode in oXygen XML Developer.
...Only in TEXT mode in oXygen XML Developer.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Allow "stop" characters to be configured for double-clicking to select a phrase
I understand, I added another internal issue focused on the Text editing mode:
EXM-55254 Improve double click to select behavior in Text mode
Regards,
Radu
EXM-55254 Improve double click to select behavior in Text mode
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service