Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Long lines in output area not wrapped #326

Closed
mweidling opened this issue Jul 7, 2021 · 1 comment
Closed

[BUG] Long lines in output area not wrapped #326

mweidling opened this issue Jul 7, 2021 · 1 comment

Comments

@mweidling
Copy link

Describe the bug

After evaluating a query, the output is displayed in the output area of eXide.
Since eXist-db 5.3.0 long output that exceeds the width of the output area is not wrapped anymore.

I observed this behaviour both in FF 89.0.2 (64-bit) for Ubuntu and Chrome Version 91.0.4472.114 (Official Build) (64-bit) on Xubuntu.

Expected behavior

If an output's horizontal extension exceeds the output area's width, the text should be wrapped so that I can see the output completely.

To Reproduce

  1. Get an XML file with a large amount of text (e.g. https://www.deutschestextarchiv.de/book/download_xml/goethe_leben01_1811) and store it in eXist-db 5.3.0
  2. Write a small query that returns the text nodes of said file, e.g.
doc("/db/goethe_leben01_1811.TEI-P5.xml")//tei:TEI//text() 
=> string-join("")
=> replace("[\t\n]", " ")
  1. Observe the output area. The text is cut instead of wrapped.

Screenshots

Output in eXist-db 5.2.0:

Screenshot_2021-07-07_08-31-00

Output in eXist-db 5.3.0

Screenshot_2021-07-07_08-31-19

Context (please always complete the following information):

  • OS: Xubuntu 18.04 LTS
  • eXist-db Version: 5.3.0
plutonik-a added a commit to plutonik-a/eXide that referenced this issue Sep 3, 2021
* restore scrollbar in results pane
* break lines within visible pane

Fixes eXist-db#325 and
eXist-db#326
joewiz added a commit that referenced this issue Sep 4, 2021
@joewiz
Copy link
Member

joewiz commented Oct 17, 2021

Fixed by #358. @plutonik-a Thank you!

@joewiz joewiz closed this as completed Oct 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants