Search
OneNoteGem
  • Home
  • Addins
    • Windows Office Addins >
      • Gem for OneNote
      • OneNote Search Bar
      • OneNote Gem - Favorites
      • OneNote Batch
      • Pons for MindManager and OneNote
      • Mind Map for OneNote
      • Pons for Visio and OneNote
      • Row to OneNote
      • Auto OneNote
      • Favorite to OneNote
      • Bridge for EndNote and OneNote
      • Anchor to OneNote
      • Anchor to OneNote for PDF
      • Bring to OneNote
      • Gem Table for OneNote
    • Windows UWP Addins >
      • Gem Menu for OneNote UWP
      • CiteBoard for OneNote
      • OneReader
      • OneMind for Windows OneNote
      • OneNote Reminder Cloud (UWP)
      • OneNote Batch Cloud (UWP)
    • Mac Addins >
      • Gem Menu for Mac OneNote
      • CiteBoard for OneNote
      • Bring to Mac OneNote
      • OneMind for Mac OneNote
      • OneNote Reminder for Mac
      • OneNote Batch for Mac
      • Fix One for Mac - Fix OneNote Login, Sync Tools
    • Android Addins >
      • CiteBoard for OneNote
      • Fix One for Android - Fix OneNote Login, Sync Tools
    • Cross-Platform Addins >
      • OneNote Reminder
      • OneMind for OneNote
      • CiteBoard for OneNote
      • Fix One - Fix OneNote Login, Sync Tools
    • Markdown Addins >
      • Gem for OneNote
      • One Markdown
    • Mind Map Addins >
      • OneNote Gem - Favorites
      • Pons for MindManager and OneNote
      • Mind Map for OneNote
      • Pons for Visio and OneNote
      • OneMind for OneNote
    • Other Addins >
      • One Markdown
      • Clip to OneNote
      • WordNote
      • OneShare
      • Fix One for Windows - Fix OneNote Login, Sync Tools
  • Buy
  • Documents
  • FAQs
  • Templates
  • Support
  • Release
  • WordNote
Gem Table for OneNote
 
 
The table of merged cells for OneNote

MAC: Get Correct Program Code when Pasting Back Xcode or Eclipse from OneNote

2019-11-22 11:09
 
For special reasons, the versions of OneNote in each platform have been unsuitable for saving code.

If you try to use OneNote to save your code, there are some errors with the code when you copy and paste it back to the IDE.
Copy Program Code From Xcode

In this example, we will show the error program code when paste back to Xcode IDE.

At first, copy a section of C program code from the Xcode.
Copy Program Code From Xcode
 
Paste the Code to Mac OneNote

Then, paste the code to OneNote.

Select the code from OneNote and then copy it.
Paste the Code to Mac OneNote
 
Paste Code Back to Xcode, Found Errors
Then, paste these codes back to Xcode IDE.

At this point, you will find the code pasted back, Xcode has the wrong hint.
(especially in Eclipse, which cannot be compiled)

This means that the code saved in OneNote has changed.
The code saved in OneNote is not plain text.
Paste Code Back to Xcode, Found Errors
 
Use the "Copy plain Text" Feature of the Gem Menu to Solve This Problem

To solve this problem, the Gem Menu for MAC OneNote provides a feature---"Copy plain Text".

The Copy plain text feature is used to resolve this type of problem.

Go back to OneNote and select this code.

Then, click on the Gem Menu -> "Edit" menu -> "Copy plain Text" menu item.
Use the
 
Paste the Code Back to Xcode and Get the Correct Code

Then, paste the code back into the Xcode again.

This time the code is correct.

The following illustration, you can see the effect of pasting code 2 times.
Paste the Code Back to Xcode and Get the Correct Code
 
Demonstration
Use the
 

 
Download Gem Menu for Mac OneNote

Related Documents

Command Line
Tag System
MindMap Add-Ins Comparison
Search Add-Ins Comparison
One Markdown Syntax
Table Formula
Gantt

Gem Menu Templates
Repair OneNote
OneNote Download
English website Chinese website
Mobile Site
Copyright © 2011-2025 Digital GemSoft. OneNoteGem.com All Rights Reserved.