Change editor's behavior - Page 1

User 2131014 Photo


Registered User
10 posts

In CSS editor, if you write, for example:
body {


It gives you:
body { }


With a space between the two {}s.

I want to know how to stop it from making the space. I want it to be like this:
body {}


Thanks.
User 2131014 Photo


Registered User
10 posts

Also, I want to stop it from making a:
<br />


If I press Shift+Enter. I really don't need this feature, and don't usually use line breaks in my websites. It is really annoying because sometimes I end a tag and want to navigate to the next line immediately... an it gives me the line break.
User 38401 Photo


Senior Advisor
10,951 posts

Not sure on the body tag thing, maybe messing with the markup code that we can now edit ourselves?

As for the break, then don't press shift+enter lol. That's pretty simple really. Why would you press shift+enter to go to the next line if that's not the function of that combo of buttons for this program?

Other than that, I went through what the help file gives for the shortcut keys and that one isn't even listed there so it's probably either missing from the manual or not supposed to be there... I'm going for the missing in the manual choice myself lol. I can't see anywhere in the program to set or change the shortcut keys at all, that would be a great little feature right there. Might want to put that in suggestions.

Hopefully someone can shed some light here on the bracket tags as I haven't played a whole lot with the markup defaults till just now. Went through them but didn't see one for the body tag at all in the css markup. To get there if you want to see it all go to the Preferences, then at the bottom left you should see a button that lets you open the markup. Good luck on it :)
User 2131014 Photo


Registered User
10 posts

First of all, modifying the markup code is one of the reasons I bought the full version for. If anyone has an idea how to change this, it would be really helpful.

Also, the > sign is creating by pressin [Shift]+[.], right? If I end the line with this symbol, it's really hard to not keep Shift pressed a little longer. Also, telling me to stop using it this way it's pretty useless, as I won't do it and anyway, it will make <br /> even if you press Enter very shortly after releasing Shift.
User 184085 Photo


Ambassador
1,707 posts

3dy.ro Design wrote:
First of all, modifying the markup code is one of the reasons I bought the full version for. If anyone has an idea how to change this, it would be really helpful.


I'm thinking the space is part of the auto complete so select tools>>preferences then unchecked use code completion, or tools>>preferences>>customization then select style sheet documents in the drop down and then the modify options and unchecked the smart fill. One of these should work for you.

3dy.ro Design wrote:
Also, the > sign is creating by pressin [Shift]+[.], right? If I end the line with this symbol, it's really hard to not keep Shift pressed a little longer. Also, telling me to stop using it this way it's pretty useless, as I won't do it and anyway, it will make <br /> even if you press Enter very shortly after releasing Shift.


This scenario is quite different from your frost post, are you saying that you press shift +. for a > and the shift remains active after it is pressed, converting your enter into a shift enter, or are you saying you occasionally keep the shift key down, when you hit the enter, I need a little more info to help with this one.
Volunteering to help :)
http://www.tbaygeek.ca
My HTML play area
http://www.tbaygeek.ca/test/
User 2131014 Photo


Registered User
10 posts

Unchecking "Use code completition" solves the problem, but autocomplete is useful.

Is there any file that I can edit for changing the code completition behavior?

Also, about the Shift and Enter thing... it starts getting on my nerves. If I press Enter very shortly (a fraction of second) after releasing Shift, it makes <br />. It made it about 500 times in my last document, is anyone here who needs this keyboard shortcut?

And yes, maybe sometimes I also keep Shift pressed a little longer, but it happens too if you release Shift and press Enter immediately.
User 364143 Photo


Guest
5,410 posts

Also, about the Shift and Enter thing... it starts getting on my nerves. If I press Enter very shortly (a fraction of second) after releasing Shift, it makes <br />.

Slow down. Relax. Take time to smell the flowers. :)
CoffeeCup... Yeah, they are the best!
User 38401 Photo


Senior Advisor
10,951 posts

I think you have Shiftitis lol. I truly have never had this happen to me in all the years of using this program, but... I also am not a keybindings type person using the shortcuts very often other than the basics for copy and paste and such. Therein lies the difficulty for you I think, unfortunately, and I have no clue if that can be altered or not. I've looked all over that program and I don't find any way to edit the keyboard shortcuts for the program at all. I find a listing of them, but no way to alter them.

I hope there is something you can do for it and I would even suggest you put a post in the Suggestions forum for the program (hopefully it would be taken for all programs even that have keyboard shortcuts) to add this edit feature.
User 184085 Photo


Ambassador
1,707 posts

I'm thinking that the software is set to respond with a </br> whenever it gets a shift+enter combination from the keyboard, rather than an infinite get get key, then flush memory loop. Possibly have you tried other software that has a shift+enter binding and see if a similar thing happens.
Volunteering to help :)
http://www.tbaygeek.ca
My HTML play area
http://www.tbaygeek.ca/test/
User 103173 Photo


VP of Software Development
0 posts

With the HTML Editor 2010SE we added the ability for you to be able to customize the code completion. Take a look at this article here at http://www.coffeecup.com/help/articles/ … ml-editor/ for instructions.
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.