Not working when double clicking on a macro:
^^^ inline macro, followed by content
^^^ inline macro, followed by another macro
^^^ inline macros followed by an empty new line
What actually happens:
Same behavior as pressing CTRL+A (select all). The entire wysiwyg's content is selected.
Note: In the above not-working case, a workaround can be used by double-clicking on the macro's border, around the macro's (text) output. Double-clicking on the macro's output (text) does not work.
What works as expected:
^^^ inline macro, followed by a space
^^^ block macro, nothing else on the line
^^^ 2 inline macros, followed by content on a new line
Reproduced on 6.2-rc1, 5.4.3 and probably is present on previous versions as well.
Caught by failing test: org.xwiki.test.wysiwyg.MacroTest.testDoubleClickToEditMacro