InsertSingleColumnOperation scrolls editor to the top
Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
-
- Posts: 31
- Joined: Fri Jan 26, 2024 3:31 pm
InsertSingleColumnOperation scrolls editor to the top
Post by vitorhugovm »
I'm having an issue while using the InsertSingleColumnOperation.
Although the caret stays on the right spot at the table, the editor's screen is scrolled to the top when the operation is done. Is this the usual behavior?
How could I avoid this?
Thanks!
Vitor
Although the caret stays on the right spot at the table, the editor's screen is scrolled to the top when the operation is done. Is this the usual behavior?
How could I avoid this?
Thanks!
Vitor
Re: InsertSingleColumnOperation scrolls editor to the top
Hi Vitor,
From what I saw with the default column insertion operation, it inserts a column and then it places the caret in the first cell from that column. So I think this is why the scroll to top, the caret is placed in the first cell from the inserted column.
You mentioned:
Regards,
Radu
From what I saw with the default column insertion operation, it inserts a column and then it places the caret in the first cell from that column. So I think this is why the scroll to top, the caret is placed in the first cell from the inserted column.
You mentioned:
Did you write custom code for this?Although the caret stays on the right spot at the table
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 31
- Joined: Fri Jan 26, 2024 3:31 pm
Re: InsertSingleColumnOperation scrolls editor to the top
Post by vitorhugovm »
Hi Radu!
In this case I'm using the original operation, it's not customized. And yes, the caret is set to the first cell of the new column, as should be the expected behavior.
But the problem is not the caret, because when the original operation is done, the editor is scrolled to the beginning of the document, far above the modified table. If I use the arrow keys to move the caret, it comes back to the table, indicating that in fact the caret is on the right spot. But what I wanted is not having the need of locating the table again with the caret move or even scrolling down, I wanted the editor view to not automatically scroll and stay where it was before the action.
Thanks!
Vitor
In this case I'm using the original operation, it's not customized. And yes, the caret is set to the first cell of the new column, as should be the expected behavior.
But the problem is not the caret, because when the original operation is done, the editor is scrolled to the beginning of the document, far above the modified table. If I use the arrow keys to move the caret, it comes back to the table, indicating that in fact the caret is on the right spot. But what I wanted is not having the need of locating the table again with the caret move or even scrolling down, I wanted the editor view to not automatically scroll and stay where it was before the action.
Thanks!
Vitor
Re: InsertSingleColumnOperation scrolls editor to the top
Hi Vitor,
I tried to reproduce this problem by adding a table at the end of a sample DITA topic we have:
https://www.oxygenxml.com/oxygen-xml-we ... n%22%7D%5D
then adding an extra column in the table, the scroll was to the beginning of the table for me, not to the beginning of the document.
Have you created your own custom framework for editing your own XML vocabulary? What web browser are you using in your tests? I'm using Firefox on a Mac.
Regards,
Radu
I tried to reproduce this problem by adding a table at the end of a sample DITA topic we have:
https://www.oxygenxml.com/oxygen-xml-we ... n%22%7D%5D
then adding an extra column in the table, the scroll was to the beginning of the table for me, not to the beginning of the document.
Have you created your own custom framework for editing your own XML vocabulary? What web browser are you using in your tests? I'm using Firefox on a Mac.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 31
- Joined: Fri Jan 26, 2024 3:31 pm
Re: InsertSingleColumnOperation scrolls editor to the top
Post by vitorhugovm »
Hi Radu!
Yes, it is a custom framework for editing a custom XML vocabulary. I'm using Edge on a Windows for the tests. I tested the operation with the link you provided and it worked normally.
Thanks!
Vitor
Yes, it is a custom framework for editing a custom XML vocabulary. I'm using Edge on a Windows for the tests. I tested the operation with the link you provided and it worked normally.
Thanks!
Vitor
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service