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.

Bug 230953 - HTML formatting options issues
Summary: HTML formatting options issues
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P4 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-07 19:38 UTC by John Jullion-ceccarelli
Modified: 2016-07-19 17:50 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Jullion-ceccarelli 2013-06-07 19:38:32 UTC
I want to turn on word wrap for HTML files. With Java and HTML5 enabled, I go to Tools > Options > Formatting > Language and I only see Java, JavaScript, and JSON. Where are the other file types, especially HTML?
Comment 1 Marek Fukala 2013-06-10 08:49:22 UTC
John, I see the Line Wrap option just in the "All Languages" options panel. So you can enable or disable it for all languages at once. Even if you select java or javascript in the combobox, you can't change the line wrap behaviour there.

I find this as quite logical (I'd say one would either want the wrapping or not in general), but of course it could be configurable per language. In such case I'd expect the options panel to handle this similar way as in the case of editor colors -  the setting can be changed for each language even if the language itself provides no extra UI => passing to editor options for evaluation.
Comment 2 Marek Fukala 2013-06-10 08:55:07 UTC
(In reply to comment #1)
> John, I see the Line Wrap option just in the "All Languages" options panel. So
> you can enable or disable it for all languages at once. Even if you select java
> or javascript in the combobox, you can't change the line wrap behaviour there.
> 
> I find this as quite logical (I'd say one would either want the wrapping or not
> in general), but of course it could be configurable per language. In such case
> I'd expect the options panel to handle this similar way as in the case of
> editor colors -  the setting can be changed for each language even if the
> language itself provides no extra UI => passing to editor options for
> evaluation.
pls disregard this. I'm completely blind :-) The option CAN be set per language. I'll add such option for html as well.
Comment 3 Marek Fukala 2013-06-10 14:01:11 UTC
fixed in web-main#9e3c3d4d79c2

The html formatting options still have some problems like:
1) not properly refreshed preview upon change of the line-wrap or margin values. 
2) also it seems that HTML language shows in the languages lists only if you previously opened an html file after ide restart. 

I'm keeping the issue opened so I can track these problems.
Comment 4 Quality Engineering 2013-06-11 01:43:05 UTC
Integrated into 'main-golden', will be available in build *201306102301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/9e3c3d4d79c2
User: Marek Fukala <mfukala@netbeans.org>
Log: #230953 - No option to turn on word wrap for HTML?
Comment 5 _ gtzabari 2016-07-19 17:50:44 UTC
This issue should be closed as no one seems to be working on it.