TextEdit Default Font/Background Color

I'm hoping to set TextEdit to have all new plain text documents open with a specific font and background color.  When I make changes in the New Document tab of the application's preferences, clicking the "Change…" button by "Plain text font" allows me to set the display font, but any choices I make regarding colors seem to be completely ineffectual.  I could not find anything in other threads on the forum that would yield a solution.  Any advice?

Can't be done. TextEdit will let you apply such changes while you have a plain text document open, even though it shouldn't. Save the file, close and reopen it, and you'll see anything you've done is gone and will display again as exactly what the file is; plain text.
Even using rich text as your default document type, you can pick a particular font to use as the default, but you can't set a color. The preferences will also let you set a font as the default for plain text, but only you will see the files that way since the font info is not written into the document. Anyone who receives your plain text files will see the font as whatever their default is.

Similar Messages

  • Why doesn't the default fonts and color work after upgrading to version 31?

    As mentioned upon, my default fonts doesn't work. No matter what kind of font i changed ,it always showed the times new roman font i think.
    pls help me .thanks

    Problem solved. The character encoding for outgoing is wrong, i change it to Western. Then its ok now

  • How do I change font and colors back to default?

    I have changed the font and color of the text through the tools button and the options button and the content tab. I find nothing telling me how to change the font and colors back to default font and colors. Can you advise me? I'm using Windows 7 Home Premium OS. Thanks.

    Hi Brenda19605,
    You can use this article to set the fonts and colors: https://support.mozilla.org/en-US/kb/change-fonts-and-colors-websites-use?esab=a&s=font&r=0&as=s
    The default settings for the font are in this article:
    https://support.mozilla.org/en-US/kb/Some%20text%20shows%20up%20bold%20after%20upgrade
    Unfortunately for the default colors has no good reference. But for text it is black (most lower left) color, background is white (most upper left color). Unvisited links is blue (column 8, row 5) and visited link is purple (column 9, row 5).
    Let me know if you need anymore help!
    Lordfreak

  • Font color against dark font backgrounds changing to white in Word 2010

    Hello.  I am a long-time Word and VBA user and have been experiencing a problem with Word 2010 wherein font colors against a dark font background color always appear, and print, as if they had been set to white.  By contrast, Word 2007 would retain
    whatever font color was set for each character (whether through the standard user interface or VBA).  Has anyone else run into this problem?  Is there a fix for it?  Thanks.

    Thanks for your response, Eugene.
    It's x86.
    I actually had set up an image of a comparison of Word 2007 vs. Word 2010, but when I've tried to include it here, a message comes up that says "Body text cannot contain images or links until we are able to verify your account."
    I had previously been warned that I needed to provide a phone message to "verify" my account.  I don't like giving out my phone number when it's not relevant to what I'm doing.  I'll explore to see if there are other options where I don't have
    to provide private information in order to be able to post images in my messages in this forum.  (I'm not up to any harm here!)  I do think the image that I set up would be very helpful to share; it shows clearly the difference in how Word 2007 vs.
    Word 2010 treat font/text color against dark font/text backgrounds.

  • How can I change the background color of a chart?

    How can I change the default black background color of a chart to white?
    Thanks
    John

    Hello All,
    Another (and my preferred method) of bringing up the tools palette is to press
    <shift>+<Rt-Click>.
    Just another way to do something in LabVIEW!
    Travis M
    LabVIEW R&D
    National Instruments

  • JTextComponent - setEditable background color

    I have a subclass of JTextField. I am doing manipulations of the background color (red when validation failed). When the program sets the text field to be not editable I want the default disabled background color (transparent?) to be displayed.
    However, in some cases I am getting a background of white when it is disabled.
    What is setEditable doing to change the background from white to grey? If I have the background color set to RED how do I change it so that grey will be shown?
    Thanks,
    John

    I am trying to understand what setEditable does WRT the background color / transpanency. In the below code, when you press the button the first time, the background of the textfield becomes grey. If you press it again it becomes white. Is this because setEditable doesn't do anything if the field is already editable?
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.GridBagConstraints;
    import java.awt.GridBagLayout;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JTextField;
    import javax.swing.SwingUtilities;
    public class BackgroundTester extends JFrame {
         private static final long serialVersionUID = 1L;
         private JPanel jContentPane = null;
         private JPanel jPanel = null;
         private JTextField jTextField = null;
         private JButton jButton = null;
         private Color origBackColor = null;
          * This method initializes jPanel     
          * @return javax.swing.JPanel     
         private JPanel getJPanel() {
              if (jPanel == null) {
                   GridBagConstraints gridBagConstraints2 = new GridBagConstraints();
                   gridBagConstraints2.gridx = 0;
                   gridBagConstraints2.gridy = 2;
                   GridBagConstraints gridBagConstraints1 = new GridBagConstraints();
                   gridBagConstraints1.fill = GridBagConstraints.VERTICAL;
                   gridBagConstraints1.gridy = 1;
                   gridBagConstraints1.weightx = 1.0;
                   gridBagConstraints1.gridx = 0;
                   jPanel = new JPanel();
                   jPanel.setLayout(new GridBagLayout());
                   jPanel.add(getJTextField(), gridBagConstraints1);
                   jPanel.add(getJButton(), gridBagConstraints2);
              return jPanel;
          * This method initializes jTextField     
          * @return javax.swing.JTextField     
         private JTextField getJTextField() {
              if (jTextField == null) {
                   jTextField = new JTextField();
                   jTextField.setColumns(10);
              return jTextField;
          * This method initializes jButton     
          * @return javax.swing.JButton     
         private JButton getJButton() {
              if (jButton == null) {
                   jButton = new JButton();
                   jButton.setText("Set Disabled");
                   jButton.addActionListener(new java.awt.event.ActionListener() {
                        public void actionPerformed(java.awt.event.ActionEvent e) {
                             jTextField.setBackground(origBackColor);
                             jTextField.setEditable(false);
              return jButton;
          * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        BackgroundTester thisClass = new BackgroundTester();
                        thisClass.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                        thisClass.setVisible(true);
          * This is the default constructor
         public BackgroundTester() {
              super();
              initialize();
              origBackColor = jTextField.getBackground();
              jTextField.setBackground(Color.RED);
          * This method initializes this
          * @return void
         private void initialize() {
              this.setSize(300, 200);
              this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              this.setContentPane(getJContentPane());
              this.setTitle("JFrame");
          * This method initializes jContentPane
          * @return javax.swing.JPanel
         private JPanel getJContentPane() {
              if (jContentPane == null) {
                   jContentPane = new JPanel();
                   jContentPane.setLayout(new BorderLayout());
                   jContentPane.add(getJPanel(), BorderLayout.CENTER);
              return jContentPane;
    }

  • Linked Image with CSS Hover background Color Jerks in IE8

    Please see http://www.rrmuseumpa.org/about/musviews/index.shtml and hover over any of the five slideshow images, using IE8. Note that the hover causes a jerk when the assigned background color for hover kicks in, apparently by adding some vertical margin at botton. It's fine in all other browsers.
    What I want is for any image that serves as a link to not have a border and to not pick up the default hover background color, and to not cause the "jerk" in IE8.
    CSS file is at http://www.rrmuseumpa.org/css/main.css . Specific css would be most appreciated.
    Thanks.
    Jim

    The very last style rule states
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
    ul.MenuBarHorizontal li.MenuBarItemIE
    display: inline;
    f\loat: left;
    background: #FFF;
    color: #FFF;
    This is a white backgorund and white text. Simply change the background colour to #2565B2
    Gramps

  • Can i change the default gray background of the fw workarea?

    can i change the default gray background color of the fw
    workarea? thanks

    On Tue, 2 Sep 2008 03:36:42 +0000 (UTC), "mediastream13"
    <[email protected]> wrote:
    >can i change the default gray background color of the fw
    workarea? thanks
    Didn't we do this earlier today?
    It's not a Fireworks setting. It's a system-wide setting. You
    have to
    customize your workspace at the system level.
    Win
    Win Day
    Wild Rose Websites www.wildrosewebsites.com
    [email protected]

  • Portlet background color

    I'm new to plumtree. The question I have is how can I change the default white background color of a page? I created portlet and add it into myPage. But the background color is white.

    Hi, Mike.
    It sure doesn't look like it from the administration tool! I will check
    around and see if anyone has figured out how to do this!
    Cindy Eldenburg
    Mike Bayne wrote:
    When creating a portlet, I am forced to select a background color, is
    there a way to have a transparent portlet so that the Portal's
    background image is not covered up by the portlet?
    Thanks,
    Mike

  • Changing monitor window background colors?

    I've recently switched to Premiere Pro CS4 from Premiere 6.5.  I animate a lot of still images.  When rotating them or reducing their size, the default black background color in the monitor window is sometimes revealed.  How do I sample a color from the still image and change the monitor window's background color to match it?

    It would seem odd that such a basic and useful function would be deleted from the program.  After Effects still has this function, so why wouldn't the new Premiere?
    Unfortunately, I doubt that anyone here can answer that question for you, as we're all just users.
    I would strongly suggest that you file a Feature Request for that to be reinstated in the next version.
    Good luck,
    Hunt

  • Applying different background colors to selected paragraphs

    Hello there,
    In the text that is loaded dynamically as XML (i.e. markup format) I need to specify background color for selected paragraphs.
    So, I tried this: <p backgroundColor='#800000'>.
    Alas, it has no effect.
    What puzzles me even more is that declaring this attribute in span DOES work:
    <p><span backgroundColor='#800000'>Lorem impsum ... </span></p>
    This way it does change the background color, albeit, it is not solid background but sort of highlight of the text lines.
    Although, it's not ideal, I could live with that, but still would be interested to find out: what am I missing?
    After all, span can't have children, so it is a patch rather then nice solution.
    So, far I couldn't find the explanation of that behavior - ignoring 'backgroundColor' attribute in the paragraph tag.
    I'm on Mac 10.6.6 and use TLF 2.0 build 228
    BTW, searching for an answer I found a typo in the official TLF 1.1 Markup specification that was published back in December:
    6.3.13 backgroundColor attribute
    <xs:attribute name="textAlpha" type="xs:text" default=" transparent"/>
    Background color of the text.
    backgroundColor is non-inheriting.
    Valid values include:
    • transparent: No color is applied.
    • <hexadecimal value>: A value that conforms to the color data type.
    Thanks,
    Igor Borodin

    Here is the app and the screen shot of the runtime error:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark" >
    <fx:Script>
    <![CDATA[
    import spark.utils.TextFlowUtil;
    XML.ignoreWhitespace = false;
    [Bindable]
    private var txtXML:XML = <TextFlow version="2.0.0" xmlns="http://ns.adobe.com/textLayout/2008" fontSize='18' >   
        <p>
    <g>Lorem ipsum dolor sit amet,
    <span color='#880000'>consectetur adipiscing elit.</span>
    Quisque tempus, eros ac dignissim interdum, elit sem euismod velit,
    <span fontStyle='italic'>eget laoreet urna metus nec enim.</span>
    </g>
    </p>
    </TextFlow>
    ]]>
    </fx:Script>
    <s:RichText horizontalCenter="0" verticalCenter="0" width="200"
    textFlow="{TextFlowUtil.importFromXML(txtXML)}" />
    </s:Application>
    I'm on Mac 10.6.6 Flex Hero 4.5 TLF 2.0 build 228
    It's the same on Safari and FireFox
    HTH,
    Igor Borodin

  • TextEdit background color

    I C&P'd some text into a TextEdit page and it came out like this:
    grab.by/6SGr
    Can I change the background color? I know how to change text color, and I know I could change it to plaintext, but can the background be changed in rich text?
    Thanks!

    Can't be done. TextEdit will let you apply such changes while you have a plain text document open, even though it shouldn't. Save the file, close and reopen it, and you'll see anything you've done is gone and will display again as exactly what the file is; plain text.
    Even using rich text as your default document type, you can pick a particular font to use as the default, but you can't set a color. The preferences will also let you set a font as the default for plain text, but only you will see the files that way since the font info is not written into the document. Anyone who receives your plain text files will see the font as whatever their default is.

  • How to retrieve default background color for JPanels or other containers?

    Hi everybody, I've written a small class extending the default JTextArea, intended to provide the functionality of a small, descriptive item in JPanels.
    import java.awt.*;
    import javax.swing.*;
    public class JInfoTextArea extends JTextArea{
         public JInfoTextArea(String text){
              super(text);
              setEditable(false);
              setFont(Font.decode("SansSerif"));
              setFocusable(false);
              setLineWrap(true);
              setWrapStyleWord(true);
    //          setBackground(contentPane.getBackground());
              setAlignmentX(Component.LEFT_ALIGNMENT);
              setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
    }As you can see, there formerly used to be a third parameter, namely contentPane, which contained a reference to the parent Container in order to set the TextArea's background color appropriately for transparency.
    Now, is there ANY way to retrieve the background color without either passing a dedicated parameter or doing something like
    setBackground((new JPanel()).getBackground());Any help is greatly appreciated!
    Yours, Stefanie

    To answer your original question the UIManager contains properties of the various components. In case your interested the following program has a fancy GUI display of all the components:
    http://www.discoverteenergy.com/files/ShowUIDefaults.java

  • Default background color and Focuslistener disapair on table?

    When I imp. TableCellRenderer on my table the default background color and Focuslistener disapair. What can I do to get it back and still keep TableCellRenderer on my table? This is how my TableCellRenderer looks:
        public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int col) {
            JFormattedTextField beloeb = new JFormattedTextField();
            beloeb.setFormatterFactory(new DefaultFormatterFactory(new NumberFormatter()));
            beloeb.setBorder(null);
            beloeb.setHorizontalAlignment(JTextField.RIGHT);
            if (value != null) {
                if (value instanceof Double) {
                    Double val = (Double) value;
                    beloeb.setValue(val);
                    if (val.doubleValue() < 0) {
                        beloeb.setForeground(Color.RED);
            beloeb.setFont(new Font("Verdana",Font.PLAIN, 11));
            beloeb.setOpaque(true);
            return beloeb;
        }

    I'm sorry to say this is a terrible example of a renderer. The point of using a renderer is to reuse the same object over and over. You don't keep creating Objects every time a cell is renderered. In your example your are creating:
    a) JFormattedTextField
    b) NumberFormatter
    c) DefaultFormatterFactory
    d) Font.
    So you start by extending the DefaultTableCellRenderer. A JLabel is used to display the text. There is no need to use a JFormattedTextField. All you want to do is format the data. So in your constructor for the class you would create a NumberFormatter that can be reused to format your data. Then your code in the renderer would look something like:
    if (value instanceof Double)
        Double val = (Double)value;
        setText( formatter.format(val) );
        if (negative)
          setForeground(Color.RED)
        else
            setForeground(table.getForeground());
    }Here is a really simple [url http://forum.java.sun.com/thread.jsp?forum=57&thread=419688]example to get you started

  • UITableView section header: How to find out font size and background color

    Hi, does anyone know how to find out the default font and default background color(or image?) used in the section header of a tableView
    I'd like to create a view with the same background color/image and use the same font (with different color) used by the section header

    I don't think there are any getter methods for a section header. But I wouldn't be surprised if the header was an object. You might try setting some header text to a key string and searching recursively through all the subviews for objects that respond to a text message. It might help to also print the description of objects that don't respond to text. I haven't tried this yet, but will let you know if I get any useful results.
    I guess another approach would be to use viewForHeaderInSection to set the font and color to whatever you wanted. Then you wouldn't have any problem matching it.

Maybe you are looking for

  • Open a MS Word document in portal application

    In portal content area we can add a MS Word document as an item. When you click the link, portal will launch MS Word and open the file. Can we do the same thing in portal application?

  • Iweb 09 multiple sites and domains

    I have had one iWeb site working properly for the last few years with past iweb versions with no problems. I purposely upgraded to 09' so I could publish multiple sites with individual domains. I created a second and third site and they seemed to up

  • How do I get OpenGL? (for canvas rotation)

    I've tried using the rotate canvas feature in Photoshop CS5 but I get the message: "Could not complete your request because it only works with OpenGL enabled document windows."  I can't use rotate canvas using my Wacom tablet either, which is weird b

  • Command query & help

    dear all ., can any one tell how can i query and get help of any command that i want to see like i need to know all the commands started with ALTER DATABASE for example ., thanks [email protected] [email protected]

  • Templates Project Setup and Lease Management Setups don't show up during selection set creation

    Hi, I am new to iSetup. I have just installed iSetup using the Isetup List Of Mandatory Patches For R12 (Doc ID 811040.1) I don't find the following templates needed by my users to create selection sets: - Projects Setup - Lease Management Setups Any