Stylish-Custom

1676870727381

Comments

  • edited February 2012
    ChoGGi,
    once again - BIG thanks to you! Now that the -moz-box-shadow and -moz-border-radius bug landed, i have quite a few styles to edit and i don't know how i would've gone through w/out S-C! The search by 'Style' is absolutely awesome, i use it often.

    Thankyou!Thank you!
  • yeah, i've used that any number of times :)

    btw i've still been slowly working on getting 0.7.8 on amo, hopefully that last one will work...
  • edited February 2012
    Sorry, but I'm quite confused.
    Should I replace "S-C 0.7.9a" with yesterday's "S-C 0.7.8 AMO"?
  • edited February 2012
    I'm using S-C 0.7.9a from the post above. ChoGGi, did you mean .7.9 maybe? Have you tried the Orion or just totally gave up on it? It's still buggy (not fully functional, that is) as far as i understand. For instance, still no word wrapping. Probably doesn't worth your time, at this point any way.
  • edited February 2012
    the 0.7.8 that'll appear on amo is the same as 0.7.9b (it's taken so long for approval they kinda got merged)
    https://sites.google.com/site/choggi/downloads

    i was waiting for amo approval before i posted 0.7.9b (just in case i need to change something else)
    no new features so


    i might give orion another whirl, but i'll probably wait till most of the bugs have been ironed out, using sc and scite for editing works fine for me
  • Good one but i always have to add line numbers and wrap - every time i open it. And that blinding white bg ... i wish i could style that!
  • blinding white bg?
  • Hehe...
    image
    478 x 231 - 9K
  • edited February 2012
    .... i have a style for Orion all ready and waiting to be used ... (just in case) Hehe

    Thanks for the link but i still have no idea what and how to do anything there. I mean, it says 'you need to change this to this' but where do i need to change it? I have nothing but blank under Global options or User options. Could be i'm missing some files but since i have no idea, i'm not fooling with it.
  • in the scite folder make a new file called SciTEUser.properties
  • I don't have scite folder, i have an exe and an icon in the taskbar which runs it. I was too lazy to install zip. I really almost never use it as notepad++ seems to be enough for me. Maybe i'll bother later tonight.
  • ChoGGi, could you please make your extension not unpack itself when being installed?
    A single *.xpi archive is better than many small files, as you many small files cause more disk I/O operations, so it kills hard drive faster + it loads slower than a single *.xpi file.

    Thanks in advance!
  • possibly, i'll see what i need to change to not have to unpack it
  • ChoGGi,
    I have a question. On my Facebook account I have chosen the Dark Blue Color. My Fiance wants the Dark Green Color on her account. How can I make it to where I have mine being Blue and hers be Green? Which area(s) should I Edit when I hit the "S" on the toolbar in Chrome??
    NOTE - These are 2 different Facebook accounts wanting to be 2 different colors in the same browser on the same computer. I hope you or somebody can help me.
    Thank you, I really like this Extension. It gives Facebook a "Facelift" :D
  • edited March 2012
    This has nothing to do with this thread or the ext. SC is an addition to Stylish - another ext.

    Please, start your own thread.
  • edited March 2012
    I have a feature suggestion for the external editor mode. I made a small change in the source code so that on saving the stylesheet in my external editor, the preview is automatically updated. This makes editing pretty snappy.

    I simply added this code to the stylishCustom.edit.checkFile() function, just before line 153 in edit-overlay.js:
    	//update last modified
    this.lastModified = cssFile.lastModifiedTimeOfLink;
    //let user know
    stylishCustom.common.tooltip("CodeUpdated",codeE);

    + this.toggleUnPreview();

    this.afterChange();
    },
    This could of course be enabled/disabled via a setting in the preferences. But who wouldn't want this to be the default behaviour, anyway? ;)

    It would also be nice to have an External editor button in the stylesheet list.
  • edited March 2012
    It already does that. And there's an external editor toolbar button, too. If you don't see it. do the usual: Rclick a toolbar/Customize and drag it out on any toolbar in the editor:
    image

    Or maybe i misunderstood? What do you mean by 'the preview is automatically updated'? When you click Save in your external editor, it updates the style (in the Stylish editor). Then click the Preview button to see the changes.
    image
    545 x 427 - 176K
    295 x 122 - 20K
  • I don't know about anyone else, but I'm getting huge CPU spikes lately when editing and previewing Styles.

    Is this normal?
  • I doubt it has to do with Stylish-Custom. You might want to start another thread or find the one about the latest Stylish release.
    For the record, i don't see any spikes. Fx12b
  • Thanks, makondo.

    At least I know it's probably peculiar to me in some way.

    I'll dig in a bit more.
  • edited March 2012
    Or maybe i misunderstood? What do you mean by 'the preview is automatically updated'? When you click Save in your external editor, it updates the style (in the Stylish editor). Then click the Preview button to see the changes.
    What I mean is that the changes are instantly visible in the browser. No need to click on “Preview“.
  • I see, thanks for the explanation.
  • edited March 2012
    I have a feature suggestion for the external editor mode. I made a small change in the source code so that on saving the stylesheet in my external editor, the preview is automatically updated. This makes editing pretty snappy.

    I simply added this code to the stylishCustom.edit.checkFile() function, just before line 153 in edit-overlay.js:
    	//update last modified
    this.lastModified = cssFile.lastModifiedTimeOfLink;
    //let user know
    stylishCustom.common.tooltip("CodeUpdated",codeE);

    + this.toggleUnPreview();

    this.afterChange();
    },
    This could of course be enabled/disabled via a setting in the preferences. But who wouldn't want this to be the default behaviour, anyway? ;)
    Very nice! Thank you - works perfectly. :)
  • @makondo:
    I cannot see how one gets the External editor button onto the Style Sheet view (the list of Styles wherein one can then Edit, Disable, Uninstall, Sort, Update, etc.).
  • edited March 2012
    No, there isn't one in the list (i suppose you mean manager), there's one in the editor. I personally don't see any significance of the in-list button 'cause you can click whatever editor icon in the taskbar just as well. That button in the editor however is useful 'cause whatever editor opens with that particular style in it. Makes sense to me.
  • What I mean (and I think to what retrofan refers, as well) is, when a Style is selected in the manager, clicking on an external editor button (within the manager) will open it directly in the external editor as opposed to opening it in the native editor and then clicking the External Editor button to open the Style in an external editor.
  • I see, i get it now, thanks.
  • added and i'll have to see about that external edit though
  • edited March 2012
    Thanks, ChoGGi. :)

    One thing about the native editor is it's ability to flag incorrect Stylish code; something an external editor (at least Notepad ++) cannot do.
    I, often, as a relative newcomer to CSS coding, rely on the built in check as I experiment a lot.
    However, when I know what I want to change and it's not something with which I'm experimenting, it would be nice to have it loaded directly into the external editor rather than loading the Style in the native editor and then loading it in the external editor especially when I'm just doing a find and replace action or something similar.
Sign In or Register to comment.