More control over the UndoManager

Hello

I want to control how the undomanager works, specifically, how the of the United-do Nations operatiosn are executed. I want to be able to UN - do text entry by workd Word or letter-by-letter users. How is that possible?

Which on the other hand, would have an impact on performance? Let's say we keep an atack of 50 operations in the undopmanager.

TKS.

Check out EditManager.finalizeDo () where it is stated:

if (_undoManager.canUndo() && allowOperationMerge)
                         {
                              var lastOp:FlowOperation = _undoManager.peekUndo() as FlowOperation;
                              if (lastOp)
                              {
                                   // Try to merge the last operation on the stack with the current
                                   // operation. This may modify lastOp, or return a new operation
                                   var combinedOp:FlowOperation = lastOp.merge(op);
                                   if (combinedOp)
                                   {
                                        combinedOp.setGenerations(lastOp.beginGeneration,textFlow.generation);
                                        _undoManager.popUndo();
                                        op = combinedOp;
                                   }
                              }
                         }

It's where the combination of each letter.  You might be able to get away with affecting false at allowOperationMerge.  Or replace the function and remove this part.  I don't know what other consequences these options will be even though, as I have not tried.  UndoManager is simple; you mainly want to dig into the EditManager.

Tags: Adobe Open Source

Similar Questions

  • The ' sort by ' disappeared in the menu toolbars, have more control over the Organization of files and folders

    The ' sort by ' disappeared in the menu toolbars.  No need for control over the Organization of files and folders.  Please advise.

    * original title - I can't delete automatically rearrange the menu toolbars so that I can sort the folders and files that I have wish.*

    Hello

    ·          Were there any changes made to the computer until the problem occurred?

    ·          Have you tried right click and check the context Menu?

    ·          This happens for any particular folder?

    Step 1:

    You can check if the same thing happens in a new user account. To create a new user account

    http://Windows.Microsoft.com/en-us/Windows7/create-a-user-account

    Step 2:

    If the new user account works fine then the old account has been corrupted, you can follow the link given below to fix the corrupted user profile.

    http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile

    Amrita M

    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Apple: Can allow you parents more control over the access of children iTunes?

    Parental restrictions on mini iPad 16 GB of my granddaughter running iOS 9.3.5 (original version) do not seem to allow parents to control properly the child access iTunes. We have music, news and Podcasts (iTunes), reserved for the 'Clean' as opposed to 'Explicit', but he is always happy that we find unacceptable.

    Apple or someone you suggest a way to further control access of the child to the iTunes app?

    If not, then... Apple - there must be a way to create a framework between Clean and Explicit. You please solve this problem?

    There are other parents who have the same problem?

    Thanks for your thoughts / feedback.

    Apple isn't here.

    This is a support forum user community product technique.

    Aside from Apple employees who are specialist community technical and support the community moderators, we are all users here, just like you.

    If you want to leave a comment on the ability of your iPad to have parental controls more complete, leave your comments here.

    http://www.Apple.com/feedback/iPad.html

    Good luck!

  • C7280 - cannot scan. Error message indicates another program has control over the device

    I open the HP Device Manager to do a scan. I accepted the parameters and the scanning started. But the part passing through the analysis, I stopped the scan that I realized that I wanted to change the resolution. I leave the Manager device and rebooted but when I did, I got to tell an error message:

    'Cannot perform the function you have requested because another program has control over ice dev'.

    I have nothing else open and so I can't work on what program has control over the printer.

    C7280 Prtinter. Mac OS x 10.7.

    The Device Manager has not been updated for Lion and there is still no specific Lion software for your printer.

    So far, you have the choice of scanning with picture Capture or preview.  I'm sorry.

  • No control over the computer for printer 8600

    My printer 86600 suddenly has no control of the computer. For example, no option to scan and email, scan and save etc. What happened and how do I get that back.

    Thank you for that updated information.

    If you only have these options as you said, I would recommend uninstalling/reinstalling the HP software. Also, what is your operating system on your computer? Windows. Please follow these steps:

    First of all, please uninstall the software by following this document HP uninstalling the software of the printer. Then, you want to clean your Temp folder. Please follow this document here to help you.

    Now, install the full features on the site of HP software here. Choose your appropriate operating system and download the software. If you need help to install the software, I'll give you a document from HP on install the software of the printer on a wireless or wired (Ethernet) network.

    Please post your results again. Have a good night.

  • Place the Parental control over the Admin account

    I use a Macbook Pro with El Capitan 11.1 2012

    Today, I put Parental controls on my admin account, which resulted in the managed account. I can now use my normal administrator username / combo of password to remove it. I tried everything I found on the Internet, including into single user mode and create a new account to change to leave, but the code didn't work in my case.

    I was wondering if there is any easy solution or new thoughts there for this OS...

    Also why it not easier? Or at least a warning? Looks like Apple could have come up with something after that it was produced for the years.

    Please take these steps to restore the privileges on your account. This somewhat tedious procedure is only necessary if you have verified that no work administrator account exists on the system.

    If you do not already have a current backup of all your data, you must back up before taking any of the steps below. Ask if you need advice. You won't need the backup unless something goes wrong, which is always possible.

    Step 1

    Start in recovery mode. The OS X Utilities appears.

    Step 2

    This step only if you use FileVault 2. Start utility disk, then select the icon for the volume FileVault startup ("Macintosh HD", unless you have given it a different name.) It will be nested under another icon of the disc. Click the Open button in the toolbar and enter your login password when you are prompted. Then quit disk utility must be returned to the main screen.

    Step 3

    Select

    Utilities ▹ Terminal

    in the menu bar. In the window that opens, type this:

    resetp

    Press the tab key. The partial order you entered will automatically end this:

    resetpassword

    Press return. Opens a window to reset the password. Select your boot if not already done volume. Pull down the menu option

    Select the user account

    and select

    Administrator (root)

    Follow the prompts to set a password. It is safer to choose a password that includes only the characters a - z, A - Z and 0-9. I suggest that you write the password. If you don't write it down and forget about it, you will start again at step 1.

    Select

     ▹ Reboot...

    in the menu bar.

    Step 4

    This step, as step 2, applies only if you use FileVault. Sign up as usual, then select

     ▹ Disconnect...

    from the menu bar or press shift-command-Q key combination. Do not restart. You go back to the login screen.

    Step 5

    On the login screen, click on the other... Enter 'root' (without the quotes) in the name field and the password set in step 3 in the password field. You should now be logged in as root. It is a potentially dangerous situation. Do nothing by being logged in as root except as indicated below. You'll be fine as long as you don't dismiss the plan.

    Open the preferences users and groups window. Select your usual administrator account from the list of users and check the box marked

    Allow the user to administer this computer

    You will be prompted to restart. Do this and log in as yourself, not as root. Your administrator status should now be restored.

    Step 6 (optional, but recommended)

    Follow the instructions in this article to support under the title "disable the root user. You must authenticate in directory utility as a 'root' with the password set in step 3. As another administrator authentication will not work.

    Credit for this idea of NCP member wessongroup.

  • the phone screen turns off during a call... No control over the phone

    My Defy screen turns off during the reception or to make a call... Impossible to control the phone... need to take out the battery to turn off the call... Help! PS this could be a software issue or user?

    Do you have a case on your phone? It seems that the proximity sensor is processing the phone as if it were close to your face. A case or a screen protector can cause problems if it includes the proximity sensor - near the earpiece.

  • VCS ExpressWay and control over the different Versions

    Hello world

    Can be used on a newer VCS Highway then control VCS?

    Currently we have a highway of VCS and a tester of VCS X6.1 running. I plan to upgrade to X7.2.1 and will temporarily have the South, the new version with the old version running control.

    I don't see any documentation that may not be completed. Especially since X7.2.1 had interop tests already performed with X6.x.

    Mark

    Hi Mark,

    Please check the following page 8, section "Prerequisites", document

    http://www.Cisco.com/en/us/docs/Telepresence/infrastructure/VCs/config_guide/Cisco_VCS_Basic_Configuration_Control_with_Expressway_Deployment_Guide_X7-2.PDF

    Prerequisites

    Before you begin the configuration of the system, make sure that you have access to:

    -Guide the administrator of VCS and VCS Getting Started Guide (for reference purposes)

    -control of VCS running the version X 5 or later

    -a PC connected by Ethernet to a local network that allows to route HTTP (S) traffic to the VCS

    -a web browser runs on the PC

    -a serial interface on the PC and the cable (if the initial configuration must be performed on the interface series)

    Answer to your question, there is no problem if VCSE and VCSC installed on versions of different software.

  • User control over the availability of Flex in the browser?

    Hi all

    New guy to this Flex development. The fundamental issue, I hope.

    Comparing Flex to JavaScript, can the user disable selectively Flex in the browser? It seems that a lot of headaches with JavaScript treats this configurable option (I've historically avoided client side scripting because of this concern). I guess the plugin could be removed or disabled? If so, is there an answer "agreed" under such a condition?

    Thank you!

    Karl

    Yes

    When you launch an application flex html template that contains the swf file has its place inside that says 'download required Flash player' and 'Alternative place HTML content here' If no player is detected.

    You can put instrucation alternative here.

    There are a few ways and an offical Adobe kit around to detect the version of flash player, and most of them use javascript.

    The thing is I weigh up when it comes to developing a Flex application is my choice.  I love working on the flash platform.  I think that the biggest bonus is that everything you do in Flash / Flex his will work on browsers on all platforms.  And now with air you can also deploy these applications of office on all platforms.

    My biggest gripe with javascript, css, etc., was that the different browser seem to treat differently the pieces.  I end up doing the hacks and workarounds and generally in a desire to work in either

    Yes on the server side is your final rendered HTML to ensure that everyone gets it.  However if your Rich Internet application taking, then it's not going to provide the tools.  I would say that when we want to code client-side Flex is tops for me.  A great thing is that Flash has been around for more than 10 years and according to stats installed on 98% of internet connected machines. It is I have to be good.

    That's just my opinion, but if your client side coding, Flex for me.

  • More control on the borders?

    Hello world. I'm brand new pages, please bear with me!

    I want to customize the grey border appearing above and below my title text - beyond the limits of the options of borders and rules.

    Here's what I do: one of my lines of text is too long, so I want to move two words to the next line. Pages assumes that this is a new paragraph and to place a border grey just above him, whereas now there are three border lines in my paragraph of title.

    I want to keep the top and bottom, but the middle of pit. There is no option in the Inspector to do this.

    Is it possible to move the text to the bottom of line without a mandatory return?

    B.

    Hi BB,

    Perhaps a return (SHIFT ENTER) will help.

    Menu > view > show invisible characters for this screenshot. Soft returns show that

    Kind regards

    Ian.

  • Analog control over the timing of myRIO MSP?

    Hello

    I'm new to myRIO and just got my.

    How do you set the rate for similar samples of the port of an MSP myRIO?

    For example, I would like an analog stream output 200ksps.

    Place the block of OUTPUT ANALOG in a timed loop and runs only gives an output of 6.3 kHz frequency. (measured at the ao1 using a scope)

    See the attached file.

    I incorrectly use the timed loop? (.. .havent used before)

    Or myRIO does needs some extra configuration?

    Thanks for any help to what appears to be a very simple problem.

    See you soon.

    Hey, Carloman.

    In this case the speed is limited by the software (OS, background process and especially the code LabVIEW) running on the ARM processor on the myRIO.  200 Ksps specification is for the hardware.  If you need to write this young, you can use LabVIEW FPGA to write data.

    One of the reasons why it is difficult to reach the 200 Ksps output rate of the side RT is because each iteration of the loop produces only 1 sample (the FPGA is configured for the only point of exit... a sample at a time).  The perfect way to generate samples on the side RT and to write data to 200 Ksps is to build several samples each loop and use a FPGA personality that supports analog output buffer in memory.  This allows to generate N samples each iteration of the loop and then send samples to a FPGA (FIFO) buffer that implements buffer and copy the data.  I believe that it is coming in a future update.

    For now, you can implement this architecture by creating a custom FPGA personality or you could do everything in LV FPGA.

    Let us know if that makes sense.

    Thank you!

    -Sam K

    Hacker of LabVIEW

    Join us / follow theGroup of pirates of LabVIEW on google +

  • CHECK OUT MY MOUSE. HE WON'T MOVE ON SCREEN AND THE BATTERY SEEMS TO BE OK.__I HAVE NO CONTROL OVER THE MOVEMENT OF MOUSE.

    I TRIED UNPLUGGING THE LAPTOP COMPUTER MOUSE RECEIVER AND CHECKED BATTERIES.

    Hello

    • Who is your manufacturer of mouse?
    • What kind of mouse you are using? It is USB, active wireless or bluetooth?
    • If it is USB, have you tried on different ports?
    • Have you tried reinstalling the drivers?

    Uninstall and reinstall the mouse and drivers of the score cards. Follow the steps mentioned below to do so.

    Click Start > right click on computer > Manage > Device Manager > expand mouse and pointing devices > right click on the below option > click on uninstall > now go to your computer manufacturer/mouse site, download the updated drivers and install them.

    The hunt for drivers
    http://Windows.Microsoft.com/en-us/Windows-Vista/the-hunt-for-drivers-how-to-find-Windows-Vista-drivers-for-all-your-hardware

    Let us know if this helps

    Concerning
    Anthony.

  • No control over the amount of screenshots taken while recording

    Hello, my colleague working on Captivate 5.5 on a PC running Windows XP and when recording (in Internet Explorer), Captivate takes screen shots when he's not clicking and when the computer is thinking. When I record using Captivate, I don't have that data only question-mine mouse screenshots of queries and takes when I click or force a screenshot. The problem is that all screenshots are for MANY slides we have to go through and remove/change, does anyone have an idea of what is happening or where we might have to change a setting? Thank you!

    Hello

    Welcome to the Adobe Forums.

    According to my understanding, if you save in Internet Explorer (automatic record selected), and then it creates slides when Internet Explorer is thinking (Trying to load the page).

    Internet Explorer takes this time while opening or loading the page on your computer?

    Thank you

    Vikram

  • More control page?

    Im trying to create a cable or the project style magazine and ask two questions: is it possible to have more control over the pages, so they do not so much bounce near the project and wired magazine has a glance very controlled page, for now my nod to the page is very easy to navigate in the wrong way and sensative?

    Once is enough. I responded to your other thread and lock it.

    In the future, a little patience is in order.

    Bob

  • Windows backup - Some Confusion over the Date of backup

    I have back up once a week on Removable Drive L:

    When we look at control panel > backup and restore, I see that my last backup was on January 3, 2011, as planned.  I also see that three files have not been saved because backup Windows could not find them.  No problem.

    When I look at the Drive: Explorer > computer > l: However, I don't see that the folder that contains the backup is dated 12/26/2010 under "update."  I remember correctly, is that it is all the time that I turned on my backup to a C: partition on my removable disk L:, probably create this folder on the first backup on removable disk L:

    As time passes, the backup on L: folder should not reflect the date of the last backup?  How can I know that the backup works (see other than the correct data in the control panel > Backup and Restore)?

    Here are the results: right click on the inf file: containing the backup (the file displays the "Save" icon), then the properties > Previous Versions shows no available versions.  Properties > general tab shows the typical parameters of a file; e.g., size of 0 bytes, date of creation, etc.

    Because it is a folder, there are no properties > Details tab.

    Dating back to the control panel > Backup and Restore > manage space, I see that two backups are stored in the inf file: Reader corresponsding for scheduled backups performed two since I have configured backup for this drive.  Everything seems normal.

    On further reflection, it seems that Windows 7 works normally, because the "Date Modified" column in Explorer mode don't not one) that reflects the changes made to existing files in a folder root or additons b) new files/folders in a folder root were made; rather the 'modified date' refers only to the changes that could be made to the properties of the folder root after its creation that is, in terms of sharing, security, etc.

    Since Windows 7, at least, you have no control over the name of the backup that is created and used for the backup folder, and there is (apparently) no exception to the general rule of Windows about how the "Date Modified" column is - at least in the case of backups - it seems that a user is more or less in "trust me". , rely solely on the information available in the control panel > restore and backup to determne if the backup does not work (other than to do a restore of your time immediately after the backup, not a good idea).

    I guess that the preschoolers old like me just feel more comfortable using the Explorer to display the properties for the actual backup file and see the date of creation.

    Maybe a suggestion that might be implemented in next SP?

Maybe you are looking for