#122 open
Ryan Spaulding

Tab icon changes which indicates that a save is required when font size is increased

Reported by Ryan Spaulding | December 28th, 2010 @ 11:32 PM

What I did:
1) changed the font size in my document using apple plus '+'
2) the icon in the tab grayed out which indicates a change has been made and I need to save the file

What I expected to happen:
I did not expect the icon to change since no changes have been made to the document

What actually happened:
The icon in the tab grayed out indicating that I needed to save my work even though no changes where made

If this is a feature please close out the ticket.

Comments and changes to this ticket

  • David Santiago

    David Santiago December 29th, 2010 @ 01:54 AM

    Yeah, I believe this is related to the Undo/Redo behavior I reported in Ticket #111. Perhaps we should merge these and expand exactly the conditions for this.

    • David
  • Ryan Spaulding
  • rsms

    rsms December 31st, 2010 @ 03:58 AM

    • State changed from “new” to “open”
    • Assigned user set to “rsms”
    • Tag set to @low, text, ui, ux

    Text size +/- is currently a quick hack which uses the Cocoa default actions, which causes temporary changes to the text attributes managed by Kod. We will need to implement text size increments/decrements in Kod (namely in KStyle and friends) for this to be solved.

  • Ryan Spaulding

    Ryan Spaulding January 5th, 2011 @ 09:12 AM

    Hi rsms,

    I am totally new to Cocoa and OS X GUI programming. I have been trying to figure out how to fix this bug. looking at the MainMenu.xib file the "Bigger" and "Smaller" selections from the drop down call NSFontManger (as you stated already this works but then CSS takes over as soon as you hit return or continue typing). To make this work do we need to make two new methods that dynamically increase the font size via CSS in KStyle.h and KStyle.mm ? If this is the correct path to head down and there is no rush on this fix I could work on it.

    Thank you,

    Ryan

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

A text editor for Mac OS X

People watching this ticket

Tags

Pages