Formatting HTML Code ?

577 views
Skip to first unread message

JayR

unread,
May 7, 2011, 1:51:38 PM5/7/11
to bluegriffon
Hi all,

I am in search of a replacement for MS front page, yeah I know I am a
little late.

So far I have to say that Bluefish has impressed me the most, however
it lacks a WYSIWYG function, so it is a non starter for me. I don't
mind hacking away at the HTML code but I need something for quick,
formatted pages.

I am trying Blue Griffon and have run into a snag, when I play around
in the HTML screen.

When I try to insert a HTML comment <!-- some comment here --> it
formats the text in a color that is all but invisible in the screen,
makes it just about useless for putting comments in the code.

Question - is it possible to change the formatting for HTML code
screen?

Also I like to indent and create blocks of code in the HTML screen to
make it easy to read. However when I do this and switch to the
WYSIWYG screen and then switch back to the HTML screen all my indents
and blocks have gone away.

Question - is it possible to change the editor used for the HTML
screen? I use Notepad ++ quite a bit and if I could configure
Bluegriffon to use it as the HTML editor probably both of my problems
would be solved.

Thanks in advance

jayr

ja...@vegas-wireless.com

Daniel Glazman

unread,
May 9, 2011, 5:30:16 AM5/9/11
to blueg...@googlegroups.com
Le 07/05/11 19:51, JayR a �crit :

> Question - is it possible to change the formatting for HTML code
> screen?

Not yet. That will be for 1.1. The Source View of BlueGriffon is
based on Ace, and documentation for Ace is... welllll.... let's
say minimalistic. It always requires a bit of magic to tweak it
at this time, in particular when we deal with dynamic theming.

> Also I like to indent and create blocks of code in the HTML screen to
> make it easy to read. However when I do this and switch to the
> WYSIWYG screen and then switch back to the HTML screen all my indents
> and blocks have gone away.

A DOM-based **Wysiwyg** editor cannot correctly preserve all your
indents, that's technically impossible. Indenting an attribute for
instance cannot be preserved since there is no way to store the
corresponding whitespaces in the DOM.

> Question - is it possible to change the editor used for the HTML
> screen? I use Notepad ++ quite a bit and if I could configure
> Bluegriffon to use it as the HTML editor probably both of my problems
> would be solved.

Using an external editor would require communication between BlueGriffon
and that external process to retrieve the edited document... So the
answer is no. Sorry.

Please note that future versions of Ace will come with autocompletion,
folding, and more. Ace is really a nice and powerful solution, just
lacking documentation at this time.

</Daniel>

Jay Clark

unread,
May 9, 2011, 12:39:11 PM5/9/11
to blueg...@googlegroups.com
On 5/9/2011 2:30 AM, Daniel Glazman wrote:
Le 07/05/11 19:51, JayR a écrit :

Question - is it possible to change the formatting for HTML code
screen?

Not yet. That will be for 1.1. The Source View of BlueGriffon is
based on Ace, and documentation for Ace is... welllll.... let's
say minimalistic. It always requires a bit of magic to tweak it
at this time, in particular when we deal with dynamic theming.
Actually I changed the theme and solved the comment visibility problem.

I am not sure what ACE and DOM involves. My need in WYSIWYG is for a quick and dirty method of web development, I figure if necessary (for the moment) I can pull up the page in Notepad++ and do indenting, and probably before publishing I will pull it up in Bluefish so I can access HTML Tidy

I also noticed that there is a problem in saving changes made in the CSS style sheet they do not appear to be saved

I will keep on trying for a while longer to see if I can get used to BG as my primary HTML editor

Vegas Jay

--
Reply all
Reply to author
Forward
0 new messages