Cuperino / QPrompt-Teleprompter

Teleprompter software for all video creators. Built with ease of use, productivity, control accuracy, and smooth performance in mind.
https://qprompt.app
GNU General Public License v3.0
361 stars 24 forks source link

Pasted text broken into paragraphs at random places #57

Closed videosmith closed 2 years ago

videosmith commented 2 years ago

Pasted text is broken at random places.

Steps to Reproduce

  1. Open a simple text document in Word or LibreOffice Writer, select all text and copy
  2. Paste into new document window in app, text is parsed in random places.
  3. Paste into text editor, select all and paste that into a new document window in app, behaves as expected.

Expected behavior Should maintain basic formatting.

Screenshots (if applicable)

... Writer

Paste from Word

text

paste from text

Device information

Cuperino commented 2 years ago

The bug seems to be caused by the text parser used to partially clean formatting from pasted contents.

While I fix this bug, use Ctrl+Shift+V to paste text without formatting. It will preserve the line endings from the original document.

Cuperino commented 2 years ago

Bug fixed for next release.