Stylish-Custom-0.4.9.xpi Edit: you can right-click ExternalEdit to stop checking the css file if you press the external editor button twice, it'll just check the file again (instead of trying to open it) undo was canceling instead of undoing (oops) Options: shrunk the Remove button whitespace added tooltips to the button checkboxes
Haha, now when you click Undo All, it wipes the style all together. It is there after you Close/Edit the style but scares pants off you at first, trust me. About the decker - i'm not sure 'cause it takes the space from one place and adds it to another, which might be not how others re-size their window (i often re-size it longwise, so it's long vs. wide and a double-decker would make sense to me). I think it's safe to rename Undo To The Last Save into just Undo - there's a tooltip after all. Plus, most of us know that Undo means undo the last change. Maybe combine Undos, like you had Save at one point? A dropdown for Undo All? Thanks for the Remove button (i hide it now though 'cause i still don't understand why it's there, so i guess i don't need it). I guess 'you can right-click ExternalEdit to stop checking the css file' is from the same thing ... the one i don't understand ;-). Does this mean if, in the middle of editing in the external editor, if you Rclick this button, the changes will not be made in the stylish editor but only in the external one? There was something else but i can't think what it is right now, i'll post later if it'll come back to me. Thanks for the update!
rename Undo To The Last Save into just Undo - there's a tooltip after all. Plus, most of us know that Undo means undo the last change.
but it isn't the last change, how about Undo (last save), Undo (all)
Thanks for the Remove button (i hide it now though 'cause i still don't understand why it's there, so i guess i don't need it). I guess 'you can right-click ExternalEdit to stop checking the css file' is from the same thing ... the one i don't understand ;-). Does this mean if, in the middle of editing in the external editor, if you Rclick this button, the changes will not be made in the stylish editor but only in the external one?
when you click the external editor it makes a css file to be edited by your editor sometimes that file isn't removed, that's what the button does as for right-click yeah that's about it, you can left-click to make it start changing again
Geeze! This is one of those times when i wish i knew how computers work ;-) I open a style for editing, click on my ext. editor button to open that. I edit the style in the ext. editor, save and my changes show in the style. I save and close my style, my ext. editor asks me if i want to save the css file. I say 'No', it closes and that's the end of this story. No? As for the Rclick, let's say i Rcliked and changes don't show in the style's editor. However, as soon as i Lclick it, they will, no? So, what's the point?
rename Undo To The Last Save into just Undo - there's a tooltip after all. Plus, most of us know that Undo means undo the last change.
but it isn't the last change, how about Undo (last save), Undo (all)
"Undo to last save" is nothing else but restoring the content from the saved file. In this context, the term "Undo" is a bit confusing to me. I need to check with some more apps, but AFAIR they call it something like "Restore", "Reload (from disk)", or "Revert (to last saved state)". From all apps I know having some kind of undo, each "undo execution" only goes back one step. Admittedly, they differ in what (or how big) a step is - but not that far.
In short, I'd suggest something like "Reload File" - since this is exactly what it does, plus it is short and concise. It would also be good practice to open some "are you sure" dialog first (before resetting to the last saved state), which also can explain what is going to happen ("Are you sure to reload this style from file? This will abandon all changes made since the last save!"). Well, and if one day some annoyed users complain about this additional popup, you may add an option to the options dialog to skip it - but I'd feel this essential especially to beginners.
Posted By: makondoGeeze! This is one of those times when i wish i knew how computers work ;-) I open a style for editing, click on my ext. editor button to open that. I edit the style in the ext. editor, save and my changes show in the style. I save and close my style, my ext. editor asks me if i want to save the css file. I say 'No', it closes and that's the end of this story. No?
Let me tell you how your computer works - looking "behind the scene" may help you understand:
makondo clicks the "external editor button". Caused by this...
a copy of the style is created and placed in your temp directory, then the defined external editor is started and told to open this file.
makondo edits the style in the external editor.
makondo saves the file in the external editor. Stylish detects the time stamp of the temporary file has changed (since this is what was edited/saved by the external editor) and, because of that, updates the style with the temporary files content.
makondo clicks "Save & Close" in Stylish. This tells Stylish makondo has finished editing the style, so it has to do its "cleanup actions". One of those is to remove the temporary file (that's what's in the name "temporary").
the external editor notices the file has gone and asks "Hey, makondo - the file has gone, your data may be lost! I'm in panic! Shall I save it again?" -- Since it is already saved in stylish it is save to say "No, don't bother - everything's fine, calm down, little editor"
I guess it's step 6 which confused you - but keeping in mind what's happening "behind the scenes", you should not be confused anymore. Had you used "Save & Close" in the external editor as well, the confusion would have been avoided
Posted By: makondoAs for the Rclick, let's say i Rcliked and changes don't show in the style's editor. However, as soon as i Lclick it, they will, no? So, what's the point?
it was easy to do so i figured might as well add it
Posted By: IzzyIn short, I'd suggest something like "Reload File"- since this is exactly what it does, plus it is short and concise. It would also be good practice to open some "are you sure" dialog first (before resetting to the last saved state), which also can explain what is going to happen ("Are you sure to reload this style from file? This will abandon all changes made since the last save!"). Well, and if one day some annoyed users complain about this additional popup, you may add an option to the options dialog to skip it - but I'd feel this essential especially to beginners.
maybe not sure if a dialog is needed (it isn't supposed to be for beginners)
Izzy, thanks, but it was a ... joke! Did you see this in the post you replying to?
Posted By: makondo... I save and close my style, my ext. editor asks me if i want to save the css file. I say 'No', it closes and that's the end of this story. No?
You see, i'm trying to figure out why would anybody need a dupe function w/in S-C. My guess, this doesn't work for everybody with any external editor? I can see it useful if, like with Notepad ++, you edit a few styles at a time and N++ opens them each in tabs. Then just clicking Remove in S-C, you can remove them all at once vs. clicking 'Yes' for every popup for every tab in N++ (didn't test it yet ... in a hurry to catch Izzy awake ). Another reason could be if Remove eliminates those confirmation popups in an ext. editor all together, removes the files and just closes it. However, the Remove button is in the Options dialog, which means to use it, you still have to open that window. If this could be done (which i doubt as an ext. editor is another appl. all together), then it'd be more useful placed in the S-C editor window (yeap! another button!).
OK, tested quickly. Edit a style in an ext. editor. Save and close stylish editor. Notepad confirmation asks if you want to save the css (if you have a few styles opened in tabs, it will ask for every tab). See no need for the Remove button, sorry. Unless it's known that N++ in fact does not remove css files even if you say 'No' to the save ...? confirmation. Still puzzled. CHoGGi, do you use it? Why and when?
About Undos. Confusing stuff. I'm not fond of 'Reload', it suggests something different than, let's say, restore the original. I really think we shouldn't even bother with any of them as there's usually an Undo in an ext. editor. So, if we're doing more than a swift cleanup, we should use it. But if CHoGGi wants to make S-C editor a css editor all by itself, than just add a toolbar with all the Undos, Save, Spellchecker, etc. stuff there.
Posted By: ChoGGimaybe not sure if a dialog is needed (it isn't supposed to be for beginners)
Well, I could agree if you said "not for end users". But what you'd recommend to beginners then, if they start on coding styles? My point is always: If it's just about using styles, just install Stylish. If you're about to create styles, Stylish-Custom comes in. Plus: Even an experienced "styler" can be a beginner concerning the use of S-C - and that was what I meant by "beginner" (one who uses S-C for the first time - not one who makes a style for the first time). Once they know what which button really does (and this doesn't change too often ), they may want to switch the "nag screen" off. But before, they might be thankful having it
@makondo: Obviously I didn't get the joke. But I agree with you concerning the deletion stuff (if I got that right): Noone should bother for left-over files in the temp directory. Rather than caring for single files here, one either cleans up the entire directory on boot (or using a scheduler), or does this e.g. for "files older than..." in this directory. But hell, it doesn't hurt, does it? What freaks complain about notepad.exe on Windows? We simply don't use it (but install notepad++ instead). And if the button disturbs you - use S-C what it is intended for, and remove the button with some fine CSS - right?
Posted By: makondoBut if CHoGGi wants to make S-C editor a css editor all by itself, than just add a toolbar with all the Undos, Save, Spellchecker, etc. stuff there.
Agreed - with all those buttons, one loses focus of textarea...
Posted By: makondoStill puzzled. CHoGGi, do you use it? Why and when?
you'd use it to remove leftover files it isn't something you normally use as the files are deleted when you close the style if you close ff without closing the style (or ff crashes) then it'll leave a file in your temp folder. all it does is remove those files i think i'll make it disabled if there aren't any files for it to delete
Posted By: IzzyEven an experienced "styler" can be a beginner concerning the use of S-C
i'd hope they'd check the guide before testing buttons :)
Rather than caring for single files here, one either cleans up the entire directory on boot (or using a scheduler), or does this e.g. for "files older than..."
i figured someone might want them removed for whatever reason so i added it as an afterthought, didn't expect so much discussion about it... also i tried to make it remove them when ff starts, but i could only make it happen when a new window opens. i guess i could add another pref for it to check (we'll see)
@both of you: i'm not planning to make it too much of a better css editor (line numbers and so on don't seem to work well with textboxes) i do want to see about being about to copy/paste error msgs, but there's always the console
Izzy! I already have the Remove button removed in my style (see a few posts above ;-) but since ChoGGi put it there, i thought i need to understand why. Thanks to the last explanation, i now do (understand). I like the idea for it being disabled if there's nothing to remove.
As for the editor, CHoGGi, i don't think you should make it an editor on its own. I was kinda kidding, really. That's why
i said:I really think we shouldn't even bother with any of them as there's usually an Undo in an ext. editor. So, if we're doing more than a swift cleanup, we should use it. But if CHoGGi wants to make S-C editor a css editor all by itself, than just add a toolbar with all the Undos, Save, Spellchecker, etc. stuff there.
However, if you're going to keep the Undo buttons, please consider making it one Undo button with a dropdown with 2 items All and To the Last Save (still seems a bit awkward to me). And, don't know how involved that might be, may be really make a toolbar with small icons (16x16) with tooltips (like custom buttons or Fx toolbar iconic view). If you'll go that route, may be make 2 toolbars grouping icons. Let's say a formatting bar (editor: Insert, !important, Merge, Comment, Preview, Undos and Save) and a toolbar (Page, Enable, Update, Tags, Url). And, before anybody asks, make those toggable ;-). Find, Search, Save & Close and Close can stay where they are. Just a thought. I don't know if you're up to it.
Phew! I feel much better now that i understand what that Remove button is about. Sorry for buggin' you (i usually like to know what's what in applications i use). Thanks, CHoGGi!
EDIT: CHoGGi, did you see this?
Posted By: makondo... when you click Undo All, it wipes the style all together. It is there after you Close/Edit the style but scares pants off you at first, trust me.
Posted By: IzzyEven an experienced "styler" can be a beginner concerning the use of S-C
i'd hope they'd check the guide before testing buttons :)
Are you kidding? Who reads guides before getting in trouble? Only wimps do so... On the other hand, I've heard the saying: "Make an app foolproof, and only proved fools will use it"...
Posted By: makondomay be really make a toolbar with small icons (16x16) with tooltips
I second this in makondos full description (including grouping and toggling). It would stop cluttering the UI, uses less space, looks more professional (well OK, that also depends on)...
Posted By: makondo... when you click Undo All, it wipes the style all together. It is there after you Close/Edit the style but scares pants off you at first, trust me.
oops
Are you kidding? Who reads guides before getting in trouble?
me (Out! Out! You demons of stupidity!) there's also ctrl+z to undo the undo
Posted By: Izzy
Posted By: makondomay be really make a toolbar with small icons (16x16) with tooltips
I second this in makondos full description (including grouping and toggling). It would stop cluttering the UI, uses less space, looks more professional (well OK, that also depends on)...
maybe when i have some free time, i'll see about it btw you could hide the labels and use my icons style
Stylish-Custom-0.5.0.xpi Edit: ExternalEdit doesn't show up if you don't have an executable selected fixed Revert (All) button (doesn't blank the style anymore) Options: Remove button is disabled when you don't have any stale css files to remove
OK, i see now, it's to be used somewhere mid-way when editing, not for the first change. Thanks! I guess it's done now? BTW, forgot to mention for those who might be lurking and interested in hiding the Remove button:
Is there any difference between updating the .xpi from the firefox addons site or from here? Cause i see they have different filesizes and checksums. Is it always up-to-date with the one here? keep up the great work
Okay - one of ... how many? I'm afraid you're an outstanding exception...
yes, i'm the only person i know that enjoys reading documentation :) i'll see about some dialogs for 0.5.1 (i'm a bit busy for the next few days, but if i have some time before then)
Oh. Will there also come something to undo the undo undo?
Hi all! Im sry. Im not good at English.
I have questions. What is unpreview in the editor? I check dictionary and it doesnt know this word. Is it spelled wrong? Please change name.
How can I search up at the editor? I mean you type a word to search. You can only press F3 to search down. But you cant Shift-F3 to search up. How?
In style info can you make it sort up and sort down? Now I can sort up. I cant sort down. Thx.
I click two times at tags and change the tag. It doesnt save the change. Why? Is it a bug?
In export window I want to export all styles I enabled. How?
I try to Shift-Select style no. 11 to style no. 20 and click export checkbox. It only tick style no. 20. I expect it tick all styles 11-20 for me. Is it a bug?
Do you know a faster way to tick a large number of styles? Thx.
Snapshot is very useful. Thx so much. But how can I save more than 1 snapshot?
How can I search up at the editor? I mean you type a word to search. You can only press F3 to search down. But you cant Shift-F3 to search up. How?
you can't search up, i'll see about adding it
In style info can you make it sort up and sort down? Now I can sort up. I cant sort down. Thx.
never did figure that out (not something i really care about)
I click two times at tags and change the tag. It doesnt save the change. Why? Is it a bug?
it's just supposed to show the tags, not edit them (i left it how it is to be able to copy the tags)
In export window I want to export all styles I enabled. How? I try to Shift-Select style no. 11 to style no. 20 and click export checkbox. It only tick style no. 20. I expect it tick all styles 11-20 for me. Is it a bug? Do you know a faster way to tick a large number of styles? Thx.
i'll see about adding something to do that
Snapshot is very useful. Thx so much. But how can I save more than 1 snapshot?
it's been in the todo list for awhile, just never got around to it yet
oic. It simply means cancel preview. Why dont you name it cancel preview? Unpreview is not a common word. I think its better to use common words because not all people are very good in English.
Posted By: ChoGGinever did figure that out (not something i really care about)
oic. Its nice if you can add sort down too. Thx.
Posted By: ChoGGiit's just supposed to show the tags, not edit them (i left it how it is to be able to copy the tags)
You should grey the box so people know its only for copy.
Posted By: ChoGGii'll see about adding something to do that
Thx. I like to have a fast way to export all enabled styles too.
Posted By: ChoGGiit's been in the todo list for awhile, just never got around to it yet
Posted By: ChoGGiyes, i'm the only person i know that enjoys reading documentation :)
I will read documentation. Add the guide link in stylish custom so more people know we have a guide for it.
About save menu in editor I like the idea of a save menu that it saves space :) But can you make it work in this way? Click the word save to save. Click the arrow to open menu.
Which version are you using? There's no dropdown menu for Save buttons any more (in the latest version 0.5.0). A link to the guide is a good idea and should go under Options in the toolbar button menu.
Comments
i'm guessing you still want the double-decker?
Edit:
you can right-click ExternalEdit to stop checking the css file
if you press the external editor button twice, it'll just check the file again (instead of trying to open it)
undo was canceling instead of undoing (oops)
Options:
shrunk the Remove button whitespace
added tooltips to the button checkboxes
About the decker - i'm not sure 'cause it takes the space from one place and adds it to another, which might be not how others re-size their window (i often re-size it longwise, so it's long vs. wide and a double-decker would make sense to me). I think it's safe to rename Undo To The Last Save into just Undo - there's a tooltip after all. Plus, most of us know that Undo means undo the last change. Maybe combine Undos, like you had Save at one point? A dropdown for Undo All?
Thanks for the Remove button (i hide it now though 'cause i still don't understand why it's there, so i guess i don't need it). I guess 'you can right-click ExternalEdit to stop checking the css file' is from the same thing ... the one i don't understand ;-). Does this mean if, in the middle of editing in the external editor, if you Rclick this button, the changes will not be made in the stylish editor but only in the external one?
There was something else but i can't think what it is right now, i'll post later if it'll come back to me.
Thanks for the update!
as for right-click yeah that's about it, you can left-click to make it start changing again
I open a style for editing, click on my ext. editor button to open that. I edit the style in the ext. editor, save and my changes show in the style. I save and close my style, my ext. editor asks me if i want to save the css file. I say 'No', it closes and that's the end of this story. No?
As for the Rclick, let's say i Rcliked and changes don't show in the style's editor. However, as soon as i Lclick it, they will, no? So, what's the point?
In short, I'd suggest something like "Reload File" - since this is exactly what it does, plus it is short and concise. It would also be good practice to open some "are you sure" dialog first (before resetting to the last saved state), which also can explain what is going to happen ("Are you sure to reload this style from file? This will abandon all changes made since the last save!"). Well, and if one day some annoyed users complain about this additional popup, you may add an option to the options dialog to skip it - but I'd feel this essential especially to beginners. Let me tell you how your computer works - looking "behind the scene" may help you understand:
thanks, but it was a ... joke! Did you see this in the post you replying to? You see, i'm trying to figure out why would anybody need a dupe function w/in S-C. My guess, this doesn't work for everybody with any external editor?
I can see it useful if, like with Notepad ++, you edit a few styles at a time and N++ opens them each in tabs. Then just clicking Remove in S-C, you can remove them all at once vs. clicking 'Yes' for every popup for every tab in N++ (didn't test it yet ... in a hurry to catch Izzy awake
Another reason could be if Remove eliminates those confirmation popups in an ext. editor all together, removes the files and just closes it. However, the Remove button is in the Options dialog, which means to use it, you still have to open that window. If this could be done (which i doubt as an ext. editor is another appl. all together), then it'd be more useful placed in the S-C editor window (yeap! another button!).
OK, tested quickly. Edit a style in an ext. editor. Save and close stylish editor. Notepad confirmation asks if you want to save the css (if you have a few styles opened in tabs, it will ask for every tab). See no need for the Remove button, sorry. Unless it's known that N++ in fact does not remove css files even if you say 'No' to the save ...? confirmation.
Still puzzled. CHoGGi, do you use it? Why and when?
About Undos. Confusing stuff. I'm not fond of 'Reload', it suggests something different than, let's say, restore the original. I really think we shouldn't even bother with any of them as there's usually an Undo in an ext. editor. So, if we're doing more than a swift cleanup, we should use it. But if CHoGGi wants to make S-C editor a css editor all by itself, than just add a toolbar with all the Undos, Save, Spellchecker, etc. stuff there.
@makondo: Obviously I didn't get the joke. But I agree with you concerning the deletion stuff (if I got that right): Noone should bother for left-over files in the temp directory. Rather than caring for single files here, one either cleans up the entire directory on boot (or using a scheduler), or does this e.g. for "files older than..." in this directory. But hell, it doesn't hurt, does it? What freaks complain about notepad.exe on Windows? We simply don't use it (but install notepad++ instead). And if the button disturbs you - use S-C what it is intended for, and remove the button with some fine CSS - right?
it isn't something you normally use as the files are deleted when you close the style
if you close ff without closing the style (or ff crashes) then it'll leave a file in your temp folder. all it does is remove those files
i think i'll make it disabled if there aren't any files for it to delete i'd hope they'd check the guide before testing buttons :) i figured someone might want them removed for whatever reason so i added it as an afterthought, didn't expect so much discussion about it...
also i tried to make it remove them when ff starts, but i could only make it happen when a new window opens. i guess i could add another pref for it to check (we'll see)
@both of you: i'm not planning to make it too much of a better css editor (line numbers and so on don't seem to work well with textboxes)
i do want to see about being about to copy/paste error msgs, but there's always the console
I already have the Remove button removed in my style (see a few posts above ;-) but since ChoGGi put it there, i thought i need to understand why. Thanks to the last explanation, i now do (understand). I like the idea for it being disabled if there's nothing to remove.
As for the editor, CHoGGi, i don't think you should make it an editor on its own. I was kinda kidding, really. That's why However, if you're going to keep the Undo buttons, please consider making it one Undo button with a dropdown with 2 items All and To the Last Save (still seems a bit awkward to me). And, don't know how involved that might be, may be really make a toolbar with small icons (16x16) with tooltips (like custom buttons or Fx toolbar iconic view). If you'll go that route, may be make 2 toolbars grouping icons. Let's say a formatting bar (editor: Insert, !important, Merge, Comment, Preview, Undos and Save) and a toolbar (Page, Enable, Update, Tags, Url). And, before anybody asks, make those toggable ;-). Find, Search, Save & Close and Close can stay where they are.
Just a thought. I don't know if you're up to it.
Phew! I feel much better now that i understand what that Remove button is about. Sorry for buggin' you (i usually like to know what's what in applications i use).
Thanks, CHoGGi!
EDIT: CHoGGi, did you see this?
On the other hand, I've heard the saying: "Make an app foolproof, and only proved fools will use it"... I second this in makondos full description (including grouping and toggling). It would stop cluttering the UI, uses less space, looks more professional (well OK, that also depends on)...
there's also ctrl+z to undo the undo maybe
when i have some free time, i'll see about it
btw you could hide the labels and use my icons style
Edit:
ExternalEdit doesn't show up if you don't have an executable selected
fixed Revert (All) button (doesn't blank the style anymore)
Options:
Remove button is disabled when you don't have any stale css files to remove
BTW, forgot to mention for those who might be lurking and interested in hiding the Remove button:
/* remove Remove button from Options window */
#ExternalEditorPanel > groupbox:last-child { display: none !important; }
to change the button itself:
button[label="Remove"]
Now, CHoGGi, could you share how to change text labels to icons, please? TIA!
button{list-style-image:url(image.png);-moz-image-region:auto}
;-)
keep up the great work
the only difference between the two is i removed the update stuff from the amo one (they don't allow it)
i'll see about some dialogs for 0.5.1 (i'm a bit busy for the next few days, but if i have some time before then) ctrl+y
I have questions. What is unpreview in the editor? I check dictionary and it doesnt know this word. Is it spelled wrong? Please change name.
How can I search up at the editor? I mean you type a word to search. You can only press F3 to search down. But you cant Shift-F3 to search up. How?
In style info can you make it sort up and sort down? Now I can sort up. I cant sort down. Thx.
I click two times at tags and change the tag. It doesnt save the change. Why? Is it a bug?
In export window I want to export all styles I enabled. How?
I try to Shift-Select style no. 11 to style no. 20 and click export checkbox. It only tick style no. 20. I expect it tick all styles 11-20 for me. Is it a bug?
Do you know a faster way to tick a large number of styles? Thx.
Snapshot is very useful. Thx so much. But how can I save more than 1 snapshot?
About save menu in editor I like the idea of a save menu that it saves space :) But can you make it work in this way? Click the word save to save. Click the arrow to open menu.
Which version are you using? There's no dropdown menu for Save buttons any more (in the latest version 0.5.0).
A link to the guide is a good idea and should go under Options in the toolbar button menu.