Re: [alreq] What tools can be used for writing HTML source code with bidi text?

>     1. At least one person i know uses an editor that doesn't know anything about the Unicode bidi algorithm or RTL support.  He writes short lengths of text in the normal Unicode order, but of course has to read them backwards (ie. LTR) in the source code itself.

I too sometimes use such kind of editor, for example "Sublime Text". To edit a small part of a source to make very fine and localized corrections, which are difficult in Wysiwyg or HTML source with BIDI. 

Example:

1. HTML source without Bidi (real memory source)
 ![source2](https://user-images.githubusercontent.com/15004708/46681152-85a48800-cbe2-11e8-8ef9-07e6c769846b.png) 
2. Same source with Bidi applied
![source1](https://user-images.githubusercontent.com/15004708/46681176-8fc68680-cbe2-11e8-8367-93cf40559453.png)
3. Same as above without  `  ` 
![source1-bis](https://user-images.githubusercontent.com/15004708/46681934-3eb79200-cbe4-11e8-9f02-75aafb8f8237.png)

Rendering is
![page](https://user-images.githubusercontent.com/15004708/46681023-4413dd00-cbe2-11e8-9ea6-82e6751bc831.png)

It is not easy to add, say, ` ` in the third case above. More easy to do it in source-1 than in source-2. 

That said, my normal HTML éditor is a Wysiwyg one. BlueGriffon in this case. Even to touch the source when it is easy (most of the time).

Of course, put bidi text content in a separate line than markup, is the tip for easy edit sometimes. 

-- 
GitHub Notification of comment by ntounsi
Please view or discuss this issue at https://github.com/w3c/alreq/issues/194#issuecomment-428254475 using your GitHub account

Received on Tuesday, 9 October 2018 16:12:32 UTC