Editor stops me typing - "read only context"?
Posted: Mon Jun 29, 2015 10:35 am
Version 17.1, Linux
I'm just editing a perfectly normal DITA file in Author mode - writable, editable etc, and I found if I try to type something at a specific point in the text, a popup appears and says "cannot insert text inside a read-only context".
Heres the source code: I am just aligning the // comments, as you can see I have done three, but the fourth one won't play ball, if I try to type spaces in front of the //:
<codeblock>
MII_CTRL.phyAddr = <phy mii address> // 0..31
MII_CTRL.regDevAddr = <phy device address> // 0..31
MII_CTRL.interface = <0/1> // Select interface to use
MII_CTRL.wrIndAddr = <indirect address>// Set indirect address
MII_CTRL.wrDataInd = <data to write> // Initiate the write
wait until MII_CTRL.busy == 0// Writing is done
</codeblock>
Not a problem as I can change to text mode and fix it, but I thought you might want to know....
I'm just editing a perfectly normal DITA file in Author mode - writable, editable etc, and I found if I try to type something at a specific point in the text, a popup appears and says "cannot insert text inside a read-only context".
Heres the source code: I am just aligning the // comments, as you can see I have done three, but the fourth one won't play ball, if I try to type spaces in front of the //:
<codeblock>
MII_CTRL.phyAddr = <phy mii address> // 0..31
MII_CTRL.regDevAddr = <phy device address> // 0..31
MII_CTRL.interface = <0/1> // Select interface to use
MII_CTRL.wrIndAddr = <indirect address>// Set indirect address
MII_CTRL.wrDataInd = <data to write> // Initiate the write
wait until MII_CTRL.busy == 0// Writing is done
</codeblock>
Not a problem as I can change to text mode and fix it, but I thought you might want to know....