Archive

Archive for the ‘computers’ Category

Add Reg­Exp and Com­ment­Doc High­light­ing for JS to Programmer’s Notepad

July 13th, 2011 2 comments

    For a cou­ple of days now I’ve been using Programmer’s Notepad instead of Notepad++. It’s smaller, it’s faster, and its mem­ory foot­print is roughly one third of Notepad++. Yes, there are fewer plug-ins avail­able and it’s not get­ting updated as often as its more famous com­peti­tor but guess what – it has every­thing I need. Today I tried to cre­ate a scheme for JavaScript syn­tax high­light­ing that appeals to me. It was very easy and there are only a few very small bugs to iron out.

    Any­way, I wasn’t able to style Com­ment­Doc key­words and reg­u­lar expres­sions. As usual, Google came to the res­cue. After doing some research I found that I had to man­u­ally edit the cpp.scheme file in the schemes direc­tory of Programmer’s Notepad. Look for the fol­low­ing part and add the high­lighted lines to your file:

    <language base="cppbase" name="javascript" title="JavaScript" folding="true" foldcomments="true" foldelse="true" foldcompact="true">
      <comments line="//" streamStart="/*" streamEnd="*/" blockStart="/**" blockLine=" *" blockEnd=" */" />
      <use-keywords>
        <keyword key="0" name="Keywords" class="javascript"/>
        <keyword key="1" name="Keywords 2" class="jsunsure"/>
        <keyword key="2" name="CommentDoc Keywords" class="commentdockw"/>
      </use-keywords>
      <use-styles>
        <style name="Doc Comments" key="3" class="commentdoc"/>
        <style name="Keywords 2" key="16" fore="b00040"/>
        <style name="Comment Doc Keyword" key="17" fore="3060a0"/>
        <style name="Unknown Comment Doc Keyword" key="18" fore="804020"/>
        <style name="RegEx" key="14" fore="3f7f3f" back="e0f0ff" eolfilled="true"/>
      </use-styles>
    </language>
    

    Now we only have to cre­ate the com­ment­dockkw class we added in the code above (sim­ply add the high­lighted lines to your cpp.scheme at the appro­pri­ate position):

      ...
      <keyword-class name="jsunsure">
        undefined
      </keyword-class>
      <keyword-class name="commentdockw">
        <!-- JsDoc tags -->
        augments author borrows class constant constructor constructs default
        deprecated description event example exports field fileOverview function
        ignore inner lends link memberOf name namespace param private property
        public requires returns see since static throws type version
      </keyword-class>
    </keyword-classes>
    

    That’s it. Save the file and start Programmer’s Notepad. Now you’re able to apply cus­tom styling to reg­u­lar expres­sions and com­ment doc key­words. On the Key­words tab you can edit the key­words we defined above.

    Categories: computers Tags: ,

    STDU Viewer: A Small and Fast PDF Reader

    July 2nd, 2010 No comments

      A few days ago I had to check out lots of PDFs and I never liked the Adobe Reader that much. I also have a dis­like for the Foxit Reader and while the Nitro PDF Reader has its uses it’s not exactly small, it’s still beta, and if you don’t like the rib­bon user infer­face you won’t be happy with it. I dis­carded Suma­tra PDF because of it’s very, very min­i­mal­is­tic user inter­face and Cool PDF Reader because I got a few error mes­sages with dif­fer­ent PDFs.

      Per­fect PDF Reader 6 was too big as was the excel­lent PDF-XChange Viewer. By now I was ready to go with the PDF-XChange Viewer despite its size but then I stum­bled over a PDF reader called STDU Viewer. It’s small, it’s blaz­ingly fast, it opened every PDF I threw at it, and it fea­tures tabs. Absolutely fan­tas­tic! Exactly what I was look­ing for! I would rec­om­mend this viewer to ever­body look­ing for a small but effi­cient PDF reader.

      Categories: computers Tags: ,

      Fix Your Mouse Wheel, Win­dows Users

      April 15th, 2010 No comments

        Win­dows doesn’t always work “prop­erly” or in a way you would expect it to work. One of this minor annoy­ances is the mouse wheel. For instance, you’d expect that mov­ing the mouse wheel will scroll the win­dow directly beneath the mouse cur­sor and not the one with the input focus. For­tu­nately, there are a few freely avail­able tools that are able to fix this issue.

        There are Kat­Mouse, Wiz­Mouse and Wheel Here. While I like Kat­Mouse the most, the other two pro­grams offer the same basic func­tion­al­ity. Kat­Mouse just goes a few steps fur­ther and adds a few more inter­est­ing options. Just try them out to decide for your­self. If you want to pay for your daily soft­ware fix, take a look at MouseEasy. Ah, I almost for­got the X-Mouse fea­tures you can acti­vate with the Pow­er­toys. I don’t really like X-Mouse because it acti­vates a win­dow but hey, that’s your choice.

        http://antibody-software.com/web/software/software/wizmouse-makes-your-mouse-wheel-work-on-the-window-under-the-mouse/
        Categories: computers Tags: ,

        New E-Mail Client Wanted

        March 3rd, 2010 6 comments

          Recently, a few Mail User Agents (MUA) – com­monly referred to as email client – have been updated, mainly Thun­der­bird, Sylpheed, Claws Mail, and eM Client. Dur­ing the next days (pos­si­bly weeks) I will take a look at them and their fea­ture sets to decide whether switch­ing from Thun­der­bird to another con­tender has its advan­tages or not. Last time I did some­thing sim­i­lar, I decided to go with Thunderbird.

          I’m not going to write a review for every email client I’ve picked for closer exam­i­na­tion, nor will I cre­ate a check list. My plan is to install them all and then just use them. I want to see how they dif­fer in their fea­ture imple­men­ta­tions and how intu­itive their user inter­face is. Because I want to remain open-minded about any­thing, I decided against a check list.

          Do you have some sug­ges­tions or want to tell me how you chose your email client? Don’t hes­i­tate to leave your opin­ion and enlighten me.

          Categories: computers Tags: , , ,

          PSN Error 8001050F Fixed Itself

          March 2nd, 2010 No comments

            Obvi­ously, the 8001050F PSN error fixed itself when the inter­nal clock date changed from Feb­ru­ary 29th to March 1st UTC. If the time dis­played on the XMB is still incor­rect, you can fix it by adjust­ing time set­tings man­u­ally or via the inter­net. I just took a quick look at it before going to work and I could sign in to the PlaySta­tion Net­work with­out expe­ri­enc­ing any error mes­sage. I’ll have to check whether I’ve lost any data but I don’t think so because I really couldn’t do anything.

            If you started a game while this hap­pened your local tro­phy col­lec­tion may be blank. Just get a new tro­phy and your local list should be refreshed and alright. If it doesn’t work, you’ll have to wait until Sony makes an offi­cial state­ment regard­ing this issue. Have fun once again.

            Categories: computers Tags: , , ,

            How to Fix the PS3′s 8001050F Error

            March 1st, 2010 No comments

              Just a few hours ago I said that you couldn’t fix the error 801050F on your own. Looks like I was wrong. Some guy claims that you only have to open your PS3, dis­con­nect the bat­tery for a few min­utes, stick it back in and you’re fine. Sounds very nice if you’re adven­tur­ous and don’t care about open­ing your PS3 sys­tem. I don’t know for cer­tain but I’m pretty sure you’ll lose your war­ranty so it is safer to wait for Sony’s fix to arrive. If you absolutely can’t wait, that seems to be the way to go!

              By the way, if you try to fol­low the link only to see a mes­sage about the board being down for the moment, try Google’s cache. When the site has loaded, press the Escape but­ton or click the Stop but­ton in your browser’s toolbar.

              Categories: computers Tags: , , ,