Options for double-click selection of text

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
jwellbelove
 
 
Posts: 46
Joined: Sun Jan 31, 2016 9:04 am
Location: Portsmouth, UK
Contact:

Options for double-click selection of text

Post by jwellbelove »

I run a C++ programming site and I'm often selecting bits of code to change the colour or font.
A lot of my code contains words separated by a hyphen i.e. uint_least8_t

When selecting these with a double-click I only ever get the text up to the hyphen. i.e. uint_least8_t
Because of this I have to hand select the text with the mouse, which is slow and agravates RSI.

It would be really useful to have the option to make words with a hyphen a single whole word when it comes to double-click selection.
WWBman
 
 
Posts: 916
Joined: Fri Jan 08, 2010 6:10 pm

Re: Options for double-click selection of text

Post by WWBman »

You mean an underscore.
jwellbelove
 
 
Posts: 46
Joined: Sun Jan 31, 2016 9:04 am
Location: Portsmouth, UK
Contact:

Re: Options for double-click selection of text

Post by jwellbelove »

Yes, that's what I meant!
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Options for double-click selection of text

Post by Pablo »

WWB uses the standard text editor of Windows (richedit). Unfortunately, I do not have any control over this behavior.
Only Microsoft can add this functionality.
jwellbelove
 
 
Posts: 46
Joined: Sun Jan 31, 2016 9:04 am
Location: Portsmouth, UK
Contact:

Re: Options for double-click selection of text

Post by jwellbelove »

That's a shame. It really slows me down and aggravates my RSI to hand select dozens of underscore separated words.
jwellbelove
 
 
Posts: 46
Joined: Sun Jan 31, 2016 9:04 am
Location: Portsmouth, UK
Contact:

Re: Options for double-click selection of text

Post by jwellbelove »

How about, as an alternative, a search/replace option to modify the style for all instances of specified text on a page.

i.e. Change all instances of "uint_least8_t" to have style "X"

Then I could change all of the styles in one go without a laborious 'click'-'drag'-'select style' for every item.
WWBman
 
 
Posts: 916
Joined: Fri Jan 08, 2010 6:10 pm

Re: Options for double-click selection of text

Post by WWBman »

Have you tried using Edit > Replace?
jwellbelove
 
 
Posts: 46
Joined: Sun Jan 31, 2016 9:04 am
Location: Portsmouth, UK
Contact:

Re: Options for double-click selection of text

Post by jwellbelove »

There is no option for changing the style in that dialog.

In the page I've just been editing I had to make 258 individual style changes. It's taken me ages!
WWBman
 
 
Posts: 916
Joined: Fri Jan 08, 2010 6:10 pm

Re: Options for double-click selection of text

Post by WWBman »

I wasn’t referring to the style, just a straight global or partial replace.
jwellbelove
 
 
Posts: 46
Joined: Sun Jan 31, 2016 9:04 am
Location: Portsmouth, UK
Contact:

Re: Options for double-click selection of text

Post by jwellbelove »

But it's the style I want to replace, not the text.

https://www.etlcpp.com/binary.html
User avatar
crispy68
 
 
Posts: 2737
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Options for double-click selection of text

Post by crispy68 »

Why not set up and use a global style? Then all you have to do is change it in one place.
jwellbelove
 
 
Posts: 46
Joined: Sun Jan 31, 2016 9:04 am
Location: Portsmouth, UK
Contact:

Re: Options for double-click selection of text

Post by jwellbelove »

That's exactly what I have.

I have four styles for code.
'Code' (Droid Sans Mono, White)
'CodeCPP' (Droid Sans Mono, Light Blue)
'CodeUser' (Droid Sans Mono, Light Magenta)
'CodeComment' (Droid Sans Mono, Light Green)

When adding code samples, I copy them straight from the code editor.
I then paste them into the web page and block set the style to 'Code'
I then need to change all of the C++ keywords to 'CodeCPP' style
I then need to change all of the library typenames to 'CodeUser' style

At the moment I have to manually highlight every instance and select the applicable style for that particular keyword/typename.

For example, see this page https://www.etlcpp.com/binary.html

Imagine pasting all of this code in and then manually changing all of the instances of 'template', 'typename', 'void', 'unsigned', 'value_type' etc to the appropriate style. That page required me to manually change the style of over 250 pieces of text!

It would be so much easier and less error prone (and better for my RSI) if I could easily change the style of every instance of 'template' to 'CodeCPP'.

If there's a dialog I'm missing that does this, then please tell me where it is!
jwellbelove
 
 
Posts: 46
Joined: Sun Jan 31, 2016 9:04 am
Location: Portsmouth, UK
Contact:

Re: Options for double-click selection of text

Post by jwellbelove »

Like this.

Image
Post Reply