Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • September 02, 2015, 01:59:34 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: Notepad that remembers the font (and other settings) used per file  (Read 3290 times)

tmpusr

  • Member
  • Joined in 2005
  • **
  • Posts: 154
  • Instantiation stuck in meatspace with no backup
    • View Profile
    • Donate to Member
Since SMPlayer remembers the settings per file I thought Notepad could, too. Know any text editor that has this feature? It would be useful to have different fonts for different files. I'd also like to have a different font for printing. Perhaps it could be implemented in existing notepads with AutoHotkey.

Actually a notepad with RTF would probably serve as well...




rjbull

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 2,856
    • View Profile
    • Donate to Member
Re: IDEA: Notepad that remembers the font (and other settings) used per file
« Reply #1 on: September 10, 2010, 04:30:10 PM »
Notetab Pro can do it, within limits; it doesn't seem to offer a huge number of fonts, but there is at least some choice.  Hit the Document menu, then Properties, to have the editor permanently associate the chosen font with the file (I think).  Notetab Pro is payware.  I don't know if the same thing works with Notetab Lite, freeware.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 6,195
    • View Profile
    • Miles Ahead Software
    • Donate to Member
Re: IDEA: Notepad that remembers the font (and other settings) used per file
« Reply #2 on: September 11, 2010, 02:29:18 AM »
I would bet it's a rare feature since the app would have to maintain a mini-database just to track which settings go with which file.  Files with formatting can stick the info in the file.  Which is probably why Wordpad picks up on font size and color when it loads the file in.

With plain text, even if you track it, what if you edit the file in another program?  There's no way to know.

tmpusr

  • Member
  • Joined in 2005
  • **
  • Posts: 154
  • Instantiation stuck in meatspace with no backup
    • View Profile
    • Donate to Member
Re: IDEA: Notepad that remembers the font (and other settings) used per file
« Reply #3 on: September 11, 2010, 09:38:02 PM »
Or you could do it the way I suggested in:

IDEA: Universal restore last position in any text when opened http://www.donationc...ex.php?topic=23902.0

append the font parameters to the file name or save them in a separate file in the same folder. Or even simpler: use the first or last line if it exists. If you use more than one notepad, you have to customize the key commands needed to change the font per app.
« Last Edit: September 11, 2010, 09:39:49 PM by tmpusr »

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 6,195
    • View Profile
    • Miles Ahead Software
    • Donate to Member
Re: IDEA: Notepad that remembers the font (and other settings) used per file
« Reply #4 on: September 11, 2010, 11:10:22 PM »
Searching around I haven't noticed anything that does that with plain text.  A word processor type app has the advantage that either the info is embedded in the file, or it can use a storage, like MS Word.  Multiple streams inside a file.  Plain text carrying around external baggage would be an unlikely choice since it's a problem that's already been "solved" by having the formatting info included in the file/storage.

I tried to do something similar only have external comments for downloads. I had a small flat file in each folder.  When you hovered the mouse it would show the comment in a Tooltip.  But even if you adjust the hover time, the system isn't exactly snappy.  The OS/file system doesn't give all that much support unless you want to do multiple stream handling/storage etc..

If you don't want to alter the file at all, as in it will still generate the same checksum, then it's not an easy task. I wasted a lot of time on it already. :(

tmpusr

  • Member
  • Joined in 2005
  • **
  • Posts: 154
  • Instantiation stuck in meatspace with no backup
    • View Profile
    • Donate to Member
Re: IDEA: Notepad that remembers the font (and other settings) used per file
« Reply #5 on: September 12, 2010, 12:02:10 AM »
I solved the need for comments for downloads by appending them to the filenames sometimes in all caps to stand out clearly and putting them into descriptively named folders - essentially with multiple tags, at least one of which I might remember, and prefixing the important ones with something like ###. Consequently some of the names are Long, and I sometimes hit NTFS paths limits, which is why I've been looking into some other file systems like ZFS which I hope http://dokan-dev.net/en/ or http://www.fs-driver.org/ would some day support.
« Last Edit: September 12, 2010, 12:07:52 AM by tmpusr »

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 6,195
    • View Profile
    • Miles Ahead Software
    • Donate to Member
Re: IDEA: Notepad that remembers the font (and other settings) used per file
« Reply #6 on: September 12, 2010, 12:57:20 AM »
Basically what I wanted was a way to just copy & paste the website capsule description. At the end, I got it to work fairly well, considering the limitations.  But, I implemented it as 32 bit shell extensions.  As soon as it's finalized, 64 bit comes along and obsoletes it.  I coded it more to learn how to do the extensions rather than to get the actual utility. Probably why it wasn't popular. :)

Of course the weakness of the Tooltip popup is, you don't remember which ones have comments, so you hover the mouse waiting for something to happen. It's a flawed design.

btw on the remembering last line caret position, it occurs to me you might want to look at some of the Scite based editors.  Seems to me either or both of Scite4AutoIt3 or Scite4ahk remembers the position in the file when you go back.  Could be only for the last file edited though. I'm not sure.

tmpusr

  • Member
  • Joined in 2005
  • **
  • Posts: 154
  • Instantiation stuck in meatspace with no backup
    • View Profile
    • Donate to Member
Re: IDEA: Notepad that remembers the font (and other settings) used per file
« Reply #7 on: September 12, 2010, 01:54:05 AM »
Scite looks like a good notepad replacement.

SleepingWolf

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 107
    • View Profile
    • Donate to Member
Re: IDEA: Notepad that remembers the font (and other settings) used per file
« Reply #8 on: October 20, 2010, 04:57:39 PM »
Or you could do it the way I suggested in:

IDEA: Universal restore last position in any text when opened http://www.donationc...ex.php?topic=23902.0

append the font parameters to the file name or save them in a separate file in the same folder. Or even simpler: use the first or last line if it exists. If you use more than one notepad, you have to customize the key commands needed to change the font per app.


You could (in later Windows versions at least) use ADS (Alternate Data Streams) but this may end up setting off warning bells in some security products.
-------------------------------------------

Choose life -or at least respect it.