This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Patch for: Syntax coloring preview should be editable | ||
---|---|---|---|
Product: | editor | Reporter: | Torbjorn Norbye <tor> |
Component: | Options | Assignee: | Milutin Kristofic <mkristofic> |
Status: | NEW --- | ||
Severity: | blocker | CC: | markiewb, sweber, _gt |
Priority: | P2 | Keywords: | PATCH_AVAILABLE |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://stackoverflow.com/questions/382174/how-to-change-netbeans-fonts-and-colors-preview-document | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: |
Proposed patch which enables pasting of custom code into the preview panel
Preview with custom code which was pasted |
Description
Torbjorn Norbye
2008-12-22 21:35:16 UTC
Btw, see http://stackoverflow.com/questions/382174/how-to-change-netbeans-fonts-and-colors-preview-document *** Issue 153421 has been marked as a duplicate of this issue. *** I would also like to have the option to change the definitions of the different file-types. e.g. I would like to add a definition for variables and positional parameters in .bat/.sh files. This might not be feasible, but if I could even add definitions for my own file-types it would be really cool. Then I could have color coding anywhere I find it useful! *** Bug 217307 has been marked as a duplicate of this bug. *** Created attachment 128616 [details]
Proposed patch which enables pasting of custom code into the preview panel
I like to propose this simple patch, which enables pasting of custom code into the preview panel.
A small problem: The preview panel uses a special caret handling. So you can select all via "CTRL-A", the selection is not visible, but you can paste. See screenshot
@NetBeans-Dev: Please review, discuss and commit. Thanks.
Created attachment 128617 [details]
Preview with custom code which was pasted
*** Bug 198766 has been marked as a duplicate of this bug. *** |