News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

copy from editor to include line numbers and highlights

Started by kend, October 17, 2009, 06:27:15 PM

Previous topic - Next topic

kend

Ok, I searched the forums for the answer to this and came up empty, but how do I cut and paste my source code (to preserve highlights and line numbers) from the editor to another file? 

Jenna

Quote from: kend on October 17, 2009, 06:27:15 PM
Ok, I searched the forums for the answer to this and came up empty, but how do I cut and paste my source code (to preserve highlights and line numbers) from the editor to another file? 

If you have the source-exporter plugin installed (part of the contrib-plugins), you can use "File -> Export" and export the active file as HTML-, RTF-, ODT- or PDF-file.
Try it and you can see the possible options.

kend

Thanks jens,
I don't see any info from Wiki for the source exporter plugin.  Am I supposed to copy the (source exporter) source to my current project and compile it?  Or is this an installed program?  Sorry but I know nothing about plugins.  I currently am using codeblocks 8.2 with the gcc complier and debugger which has the core plugins + 3 wxSmith plugins installed. 
Thanks

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

kend

I don't see it in the plugin directory?  Maybe I have to download it somewhere?

stahta01

Quote from: kend on October 18, 2009, 03:46:35 AM
I don't see it in the plugin directory?  Maybe I have to download it somewhere?

No one can help you; without knowing the operating system. And if you built or installed Code::Blocks.

Assuming the plugin is installed but disabled; check this
"Plugins" -> "Manage Plugins"
look for "Source Exporter" and enable it if disabled.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

kend

Assuming the plugin is installed but disabled; check this
"Plugins" -> "Manage Plugins"
look for "Source Exporter" and enable it if disabled.



That was the first place I looked.  It's not there.

Jenna

You still do not tell us which OS you use, but I guess it's windows.

And if I'm right and you use the 8.02-release, just re-run the installer and this time make sure you marked the source-exporter plugin for install.
By the way: I recommend to install all contrib-plugins.

kend

Thanks jens,  stupid me, I didn't realize I missed this option when installing.
Thanks again..