Tapatalk

Copied list alpha / numeric / bullets disappear on paste in UE

Copied list alpha / numeric / bullets disappear on paste in UE

5

PostJan 28, 2025#1

Why do numbers and bullets from copied lists not show up when I paste to UE but do show up in MarkText and MS products? I cannot find a paste special section or similar or related settings to fix this.

Thank you.

6,823625
Grand MasterGrand Master
6,823625

PostJan 29, 2025#2

I recommend to read Word bullet points pasted into UE. In a plain text file can be pasted only plain text. Hidden formatting tags as stored in document file types like DOC, DOCX, HTML, RTF cannot be pasted into a plain text file opened in UltraEdit. If the application in which a selected bulleted or numbered list copied the text into one of the text only clipboards with the bullet symbols respectively the list numbers as text, then it is possible to paste the text with the bullet symbols or the list numbers also in a text file opened in UltraEdit.

If there is selected in Microsoft Word version 2402 (Office 365) in a document of type DOCX (XML tagged document format container compressed with ZIP) a bulleted list or numbered list and copy that list to clipboard, Microsoft Word copies the list to multiple clipboards including the plain text clipboard for Unicode encoded text and the plain text clipboard for ANSI encoded text. Microsoft Word copies in this case the bullet symbol and the horizontal tab of each bulleted list item to the text only clipboards. Microsoft Word copies a selected numbered list with the list number and the horizontal tab of each numbered list item to the text only clipboards. A paste in UltraEdit results in inserting the bulleted or numbered lists therefore with the bullet symbols respectively the list numbers and the horizontal tabs.

Hint: Make a copy of a *.docx file, change the file extension of the copy from .docx to .zip, extract the ZIP compressed archive file into a directory and look on the text files in the created directory tree. The file word\document.xml contains the text content of the Word document with lots of XML tags. That should give you an impression of what you see in MS Word and what is really stored in the file are two different things.

Mozilla Firefox copies a bulleted or numbered list differently to the text only clipboards. The bullet symbols and the list numbers are not copied to the text only clipboards. Firefox copies the first level indent with four spaces into the text only clipboards. A paste in UltraEdit results therefore in getting the lists inserted with four spaces for the indents and the text of the list items but without bullet symbol or list number.

For example: Here are a bulleted and a numbered list.

Bulleted list:
  • Bulleted list item 1
  • Bulleted list item 2
  • Bulleted list item 3
Numbered list:
  1. Numbered list item 1
  2. Numbered list item 2
  3. Numbered list item 3
The two lists are created in this post with usually hidden BBCode tags. Press Ctrl+S to see the tags on writing/editing a post or click on the last item on the toolbar above the edit area and next on the displayed popup menu item.

Code: Select all

Bulleted list:

[ul]
[li]Bulleted list item 1[/li]
[li]Bulleted list item 2[/li]
[li]Bulleted list item 3[/li]
[/ul]
Numbered list:

[ol]
[li]Numbered list item 1[/li]
[li]Numbered list item 2[/li]
[li]Numbered list item 3[/li]
[/ol]
The forum software converts the text with the BBCode tags into HTML in the form:

Code: Select all

Bulleted list:<br><ul><li>Bulleted list item 1</li><li>Bulleted list item 2</li><li>Bulleted list item 3</li></ul>
Numbered list:<br><ol><li>Numbered list item 1</li><li>Numbered list item 2</li><li>Numbered list item 3</li></ol>
The CSS style definitions as loaded by the web browser for the elements ul, ol and li inside a bulleted list level 1 and li inside a numbered list level 1 define the display in the web browser window. The text itself in the HTML file does not contain bullet symbols or list numbers.

Mozilla Firefox as of current version copies the two lists into the text only clipboards as:

Code: Select all

Bulleted list:

    Bulleted list item 1
    Bulleted list item 2
    Bulleted list item 3

Numbered list:

    Numbered list item 1
    Numbered list item 2
    Numbered list item 3
The clipboard with HTML formatted text is filled by Firefox with:

Code: Select all

<html><body>
<!--StartFragment-->Bulleted list:<br><ul><li>Bulleted list item 1</li><li>Bulleted list item 2</li><li>Bulleted list item 3</li></ul>
Numbered list:<br><ol><li>Numbered list item 1</li><li>Numbered list item 2</li><li>Numbered list item 3</li></ol><!--EndFragment-->
</body>
</html>
That can be seen on using in UltraEdit the command Paste special - HTML source. The command Paste special - Raw RTF is grayed out (disabled) because of Firefox does not copy the selected text and list converted to RTF to the clipboard with RTF formatted text.

Conclusion: How a bulleted or numbered list is pasted into a plain text file opened in UltraEdit depends on how the application used before to copy the lists into the clipboard copied the lists into the OEM/ANSI/Unicode encoded text only clipboards.