On 3 Aug 2016, at 10:08, Hussein Shafie wrote:

On 08/03/2016 09:46 AM, Leif Halvard Silli wrote:
It would have been a massive help if we were able to, quickly, see what language a certain fragment of the text is (defined to be). Today, this
is typically a tedious multistep process:

 1. First you must activate the attribute panel.
 2. Then you must navigate to the (xml:)lang attribute.
 3. Then you must check whether that attribute present or not.
4. If it present - then, simply check that the language tag is correct. 5. But if the (xml:)lang attribute is not present (and usually this is
    exactly the case), then you must in principle go through each and
    every parent element to check whether any of them contains a
    (xml:)lang attribute.

There is very quick way to check this.

The tooltip (AKA "ballon help") displayed by the node path bar shows all the attributes of the element over which the mouse pointer is hovering. This includes the xml:lang attribute.

Could you enhance this feature so that the *inherited* language gets displayed as well? For instance, if I specified "nn" on the HTML element, then, when hovering over e.g. a <p> element to see its features, the tooltip could say (xml:lang="nn") in a parenthesis to signal that the language has been herited.

(It's also a quick way to see the ID of an element.)


Thanks. It is very helpful.
--
leif halvard silli
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to