TextPad 7 does not auto reload - textpad

TextPad 7 does not auto reload. Does anyone knows how to turn it on.
I have done what I had in the past: set the Auto-Reload flag of "When files are modified by another process:" group, from the menu: Configure.Preferences. However, in TextPad 7 the files do not Auto-Reloaded.
Many thanks,
Avi

You can configure Textpad to reload the file without prompting.
Go to Configure->Preferences...->File, then select the Auto-Reload option under When files are modified by another process.
One point to note, if the cursor is at the end of the file, TextPad will keep it at the end as updates are made so the file will scroll nicely. If the cursor is elsewhere in the file, it won't scroll.

There may be some preference changes. You can configure to reload on F5 using link
http://skatterbrainz.blogspot.in/2010/11/textpad-tip-assign-f5-to-refresh-view.html
Basically under preference -> keyboard -> all command - > select FileRevert -> assign F5.
And all good

Related

Tosca: Can we scan Notepad.exe?

So, as I'm learning Tosca, I tried to scan the simple program Notepad.exe that comes with windows... and I can't seem to figure it out. Is it even possible with Tosca 9.2? Is it possible with Tosca 10?
The best I was able to do so far was to scan Notepad as an "other", and switch on the Options > Use UIAEngine... and then it was only really able to see the main editbox... menu headers could be scanned, but none of the menu options like file > Open... or Edit > Replace... which would make being able to automate Notepad.exe useful.
Is it just not possible yet?
It is possible with TOSCA 10. I just tried and scanned Notepad instance with Desktop option from Module Folder > [right click] Scan Application > Desktop. It shows all the open browsers, Notepad instance, folders and desktop.
I scanned a module of Notepad which had only two attributes (because I selected only those) - Text area of Notepad and its close button. I created a test case where I inputted 'This' in the text area and clicked the close button. The test case also works fine.
Hope this helps!
The performance is much faster if you use the below modules instead of opening it UI. You can read/write and play around in the text file.
TBox Read/Create File
File system operations
TEXTSTREAM

Brackets - unable to edit defaultPreferences.json file (trying to set linting to jshint but not jslint)

I am running Brackets on a macbook pro and when I press cmd+, and try to edit the defaultPreferences.json file, it does not allow me to make any changes to the file (nothing happens when I type). If I restart Brackets I can edit the file, but after closing and re-opening the preferences file, the changes are reverted.
I have tried editing the json file with TextEdit while Brackets is closed, but Brackets still likes to reverse the changes.
I had similar issue , and i did open issue at Bracket's GitHub repository and here is the solution from its developers:-
defaultPreferences.json is a read-only file: take the options you
want to modify and copy them to the brackets.json file on the other
pane. This will override the defaults. You will also see code hints
while typing the values in to brackets.json which will help picking
the correct options.
Now it is also available to install brackets-preferences plugin and edit from there. Once installed go to View -> Preferences in your Brackets interface to edit preferences.

Expanded formatting is not working in visual studio 2010

My CSS files are displayed in collapsed style. I want to change it to expanded style, but when I change it to expanded style and press okay, it still doesn't work!
Just changing the setting won't change your formatting. You have to reformat the document or select a block and reformat it.
Edit > Advanced > Format Document
If that doesn't work check if the setting is getting reset once you open and close Visual Studio - in this case you might want to try deleting your settings file and trying again (it's in ..\Documents\Visual Studio 2013\Settings\ called CurrentSettings.vsssettings. Note that you will lose all your settings once you do this!
Actually it might be also worthwhile to check if you have update writes to that location before you try that and also try closing Visual Studio, starting it up as an administrator and trying it again.
And if all else fails, one last option is to find a machine where this works and copy the settings file over. Again note that you will lose all your settings once you do this!

Show all changes made through Chrome Developer Tools

How do I display all changes which I made using Chrome Developer tools?
Example:
open a website.
open Chrome Developer Tool.
change style attribute of a tag.
add new style to some css file.
change a JavaScript function.
How to see those changes? Something like:
page.html:56 Change style attribute of foo to bar.
page.css:21 Lines added: 21,22,23,24.
page.js:12 Line modified.
As of Chrome 65 there is a changes tab!!
Yes really, it is amazing :)
Open Dev Tools > Ctrl+Shift+P > Show Changes
https://developers.google.com/web/updates/2018/01/devtools#changes
So, local modifications work for any changes to the files that you make, but they don't help you if you add inline styles or change your DOM in any way.
I like to use a method where I capture the DOM before and after my changes.
copy(document.getElementsByTagName('html')[0].outerHTML)
That places the current state of the DOM into the copy buffer.
Paste this in the left hand column of a diff tool like vimdiff, http://www.mergely.com/ or Meld.
Then I finish my modifications and run the copy command again. I paste that into the right hand column of the diff tool, then I can see my changes.
Full article here: https://medium.com/#theroccob/get-code-out-of-chrome-devtools-and-into-your-editor-defaf5651b4a
You may want to try the Local Modifications feature:
The DevTools also maintains a revision history of all changes made to
local files. If you've edited a script or stylesheet and saved changes
using the Tools, you can right-click on a filename in Sources (or
within the source area) and select "Local modifications" to view this
history.
Local modifications panel will appear displaying:
A diff of the changes
The time the change was made at
The domain under which a file was changed

visual studio shortcut for MyFile.aspx "View in Browser"

I often need to display MyFile.aspx in the browser while it's not the actual file I'm working on: I might be working on a .js file that's referenced in Myfile.aspx file, or some back-end library.
So I have to switch from the tab I'm on the MyFile.aspx tab and then click the View In Browser button. Is there a way to avoid this extra step? I know I could set MyPage.aspx as the default start page and hit the Play button but then the whole site would be rebuilt and it would take even longer than finding and switching tabs constantly.
How can I add a button to the toolbar that directly previews MyFile.aspx in the browser?
I'm using VS2012 RC (really cool BTW)
Thanks for your suggestions.
Yes. You just should:
Go to Tools->Customize
Select the tab "Commands", click on the "Keyboard" button.
In the "Show command containing" textbox, type the following: file.viewinbrowser
Set a hot key for this
well your easy answer is to just keep that page open in the browser and just refresh the browser
a more complicated answer would be to add a external tool' command to do this. Go to Tools -> External Tools... and a new entry with the Command being C:\Program Files (x86)\Internet Explorer\iexplore.exe or whatever your browser of choice it and then put your URL in the Arguments field. If you want to assign this to a keyboard shortcut, follow the instrucutions at http://msdn.microsoft.com/en-us/library/80cb6ks3.aspx

Resources