(And still hasn't responded to say if he will accept a fix if I pay for somebody to do it. That's why this is so frustrating, which is why I'm trying to pay somebody to fix some of them. See, everybody's code is full of bugs one tool's bugs keeps it from working around the bugs of another tool. And if I turn auto-indent on, BlueGriffon will arbitrarily break lines as we know ( #7), but there is a bug in the beautifier ( beautify-web/js-beautify#1033) that refuses to join lines for certain elements. But that beautifier won't remove these arbitrary blank lines if I turn off auto-indent. You see, I have a post-editing beautifier I use to reformat the code even better and try to work around BlueGriffon's bugs. Not only are some things still indented, it introduced a blank line between my elements. I'm just leaving the info here for anyone who might want to take a shot at this in the future. It might make more sense at this point to just avoid nsDocumentEncoder's formatting altogether and just pass the document through something like jsbeautifier before saving, but that would probably be up to the maintainer to decide. ![]() Both are not maintained (and a bit of a mess really) so unfortunately I don't have the time to investigate this any further. ![]() ![]() It seems that something in nsXHTMLContentSerializer.cpp or nsXMLContentSerializer.cpp is forcing a wrap inside the tags (normal text seems unaffected) even when the flag is not set. Not bounty-worthy, but just in case you find it helpful an overall workaround would be to disable auto-indent & line wrapping, return to the source view before the final save, do a CTRL-A to select everything and a SHIFT-TAB to auto-indent the file with CodeMirror.Īfter looking a bit into this it seems that it's a Gecko bug (or a bug in the patched Gecko of BlueGriffon). In that case, you need to translate everything from en-US into a new locale beforeI can accept the PR.Right, I was referring to the source view where CodeMirror could handle the auto-indent, but unfortunately this won't help you with the WYSIWYG editor. You can review the existing locales and proposed changes/fixes or submit a new locale in a Pull Request. All happens only in the 'locales' directory. That's just another OSS project, we're waiting for your Pull Requests! mach package Want to contribute to BlueGriffon? mach build Run BlueGriffon in a temporary profile Windows: Windows 10 Pro with Visual Studio Community 2015.Git reset -hard `cat bluegriffon/config/gecko_dev_revision.txt` And older browsers do not correctly interpret the underscore in CSS). The settings I am using on a daily basis on OS X (Sierra) can be found in bluegriffon/config/mozconfig.macosx As a rule of thumb, avoid using the special characters above when formulating a URI string (filename), and I recommend using the hyphen (-) instead of the underscore () (as all search engines recognize the hyphen as a space separator, but the same is not true for the underscore. mozconfig file inside your bluegriffon-source directory. Patch -p 1 < bluegriffon/config/gecko_dev_idl.patchĬreate a. Patch -p 1 < bluegriffon/config/gecko_dev_content.patch Hg update -r `cat bluegriffon/config/mozilla_central_revision.txt` If for instance you have a fr-FR Windows10 and a en-US VS, build will miserably fail. Warning: on Windows, it's HIGHLY recommended to have both Windows and Visual Studio in the same locale, preferably en-US. Get mozilla-central from Mozilla through Mercurial: Make sure to have installed the environment to build Mozilla: windows, MacOS X, linux The Open Source next-generation Web Editor based on the rendering engine of Firefox To prepare the build USING MERCURIAL
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |