User forums > Nightly builds

The 01 october 2006 build is out.

<< < (3/4) > >>

BrianSidebotham:
Hi There,

Is it possible to save the file highlighting information from the edit menu options in the c::b project?

At the moment, it's nice to have my makefile syntax highlighted, but I have to manually set the highlighting every time I open the project.

Best Regards,

Brian Sidebotham.

sethjackson:

--- Quote from: BrianSidebotham on October 02, 2006, 01:07:37 pm ---Hi There,

Is it possible to save the file highlighting information from the edit menu options in the c::b project?

At the moment, it's nice to have my makefile syntax highlighted, but I have to manually set the highlighting every time I open the project.

Best Regards,

Brian Sidebotham.

--- End quote ---

Hmm does your makefile have an extension? Like .mak? Or is it named Makefile????? A lexer is applied to a doc based on the extension AFAIK. So if your makefile doesn't have something like a .mak extension then you will have to manually set it every time.

Jan van den Borst:
Hello all,
I experience some troubles for quite some time now regarding windows shutdown and codeblocks crash. When I shutdown my computer and codeblocks is still running, codeblocks always crash even when you are prompted to save your work. Saving works but codeblocks crashes afterwards. No problem closing codeblocks normally (not forced by a windows shutdown)
Any ideas?
Jan

BrianSidebotham:

--- Quote from: sethjackson on October 02, 2006, 11:36:33 pm ---Hmm does your makefile have an extension? Like .mak? Or is it named Makefile????? A lexer is applied to a doc based on the extension AFAIK. So if your makefile doesn't have something like a .mak extension then you will have to manually set it every time.

--- End quote ---

It has no extension. The setting is manual, from the Edit menu, and you can apply anything you want to a file with an 'unrecognised' extension. If the extension is unrecognised, it would be beneficial for c::b to remember any highlighting information for that file in the cbp

takeshimiya:

--- Quote from: BrianSidebotham on October 03, 2006, 11:29:58 am ---
--- Quote from: sethjackson on October 02, 2006, 11:36:33 pm ---Hmm does your makefile have an extension? Like .mak? Or is it named Makefile????? A lexer is applied to a doc based on the extension AFAIK. So if your makefile doesn't have something like a .mak extension then you will have to manually set it every time.

--- End quote ---

It has no extension. The setting is manual, from the Edit menu, and you can apply anything you want to a file with an 'unrecognised' extension. If the extension is unrecognised, it would be beneficial for c::b to remember any highlighting information for that file in the cbp


--- End quote ---
Highlighting Mode and File Encoding perhaps are better in the .layout, not the .cbp. Altrough it's debatable which one is better, either is better than nothing.

But to save from clutter .cbp/.layout's I'd say save this info, only when it's overriden.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version