Fix for bug 49187. ViewSource now emits HTML. The VIEW_SOURCE_HTML #define at the top of nsViewSourceHTML.cpp and nsLayoutDLF.cpp allows us to switch back to XML if necessary. The VIEW_SOURCE_COLORING #define in nsViewSourceHTML.cpp allows us to turn on source coloring. Without source coloring (the default right now), bringing up source is considerably faster. r=harishd

This commit is contained in:
vidur%netscape.com 2006-09-14 05:53:04 +00:00
Родитель 6b14827f17
Коммит 05e18c0a15
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1332,7 +1332,7 @@ function BrowserChangeTextSize(newSize)
//now try to open a view-source window while inheriting the charset
window.openDialog( "chrome://navigator/content/viewSource.xul",
"_blank",
"chrome,dialog=no",
"scrollbars,chrome,dialog=no",
window._content.location, docCharset);
}