Skip to main content
Participant
November 9, 2023
Question

Fehler: formatiertes Einfügen

  • November 9, 2023
  • 2 replies
  • 132 views

Ziel: Ich möchte für eine Anleitung Code-Zeilen farbig einfügen.

 

Vorgehen: Ich nutze den "Sublime"-Editor, der Code farbig als RTF kopiert.

 

Problem: Beim Einfügen gibt es neuerdings die Wahl, ob man die Formatierung ebenfalls einfügen möchte. Bestätige ich das, wird nur der halbe Text eingefügt, die andere Hälfte fehlt.

 

Woran kann das liegen? Danke für Eure Hilfe!

Jan

This topic has been closed for replies.

2 replies

James Gifford—NitroPress
Legend
November 9, 2023

Is the color-coding actually part of the text, or is it applied by the editor as the content is displayed? I have never used a code editor that actually applied color to the text, on import or export to any standard file format. In my experience, it's the latter, that the editor parses the content and applies the color coding only as a display convenience.

 

If the content is pure RTF, try saving it as an RTF file and importing it, rather than using cut and paste.

Mike Witherell
Community Expert
Community Expert
November 9, 2023

Why not build and apply a Paragraph Style to dress up the text the way you want it to look?

Mike Witherell