20 Commits

Author SHA1 Message Date
88a9e53f0d Remove remainders of DPI related code, and move TExtForm.AddSizeGrip procedure to property .HasSizeGrip. Uses TSizeGripXP instead of TSizeGripThemed, as this looks quite the same. 2019-07-21 19:44:05 +02:00
92c8f62b85 High DPI:
* remove ParentFont flag from forms again (introduced in 9cdcd631454f6f9e999893ea89fcf502d994474c for #213). This just inherits from default Windows settings.
* instead, scale font size in InheritFont(), and move that to the new TExtForm class
* mark app with PerMonitorV2 support
2019-07-17 21:59:18 +02:00
9624a9b1bd As suggested by #634
User: @cookieguru
2019-05-13 07:36:24 +02:00
9cdcd63145 Issue #213: Assign system or custom font once, to the application, and let all forms inherit that font, so there is no need to call InheritFont() for each form. 2018-10-25 19:24:45 +02:00
5a8a4af29a Rename helpers unit to apphelpers, to overcome a naming conflict with the FireMonkey unit FMX.Canvas.GPU.Helpers. Closes #102. 2018-01-22 19:48:17 +01:00
269ee242d9 Introduce GUI font preferences setting, so the user can customize the font of all dialogs and forms. Does not work with menus, however. See http://www.heidisql.com/forum.php?t=19666 2015-11-03 06:28:37 +00:00
cd165aea92 Make search/replace dialog resizable 2014-12-27 18:39:48 +00:00
8c3775fe0f Add "Save as textfile" action, and include that in routine editor > "CREATE code" tab > context menu. Fixes issue #3486. 2014-05-08 04:50:59 +00:00
627f246f69 Load full row content before replacing text using the search+replace dialog on the data grid. Fixes issue #3252. 2013-09-22 05:27:57 +00:00
7c96c04ed9 Make detection of active grid or editor in search/replace dialog more stable. 2013-02-24 09:30:12 +00:00
88b3666bf1 Support search/replace in data and result grids. Fixes issue #2979. 2013-01-15 20:46:41 +00:00
9d8b4cd83a Make more inline strings translatable. 2012-11-28 23:27:31 +00:00
f96288fce9 Translate string variables and literals in .pas files. TODO: translate constants. 2012-11-26 05:44:01 +00:00
ca1d94c87b Issue #557: Include gnugettext.pas from https://dxgettext.svn.sourceforge.net/svnroot/dxgettext/trunk/dxgettext/sample/ . And add basic code to all FormCreate events to translate their components in the future. 2012-11-10 14:28:44 +00:00
90ab0b6cf1 Refactor logic for reading and writing application and session settings:
* Introduce TAppSettings, created in dpr file
* Implement read and write methods, and replace callers of GetRegValue and MainReg.WriteInt/... with these
* Optimize read and write methods for avoiding redundant accesses to registry
* Auto-remove stored default settings from registry to avoid registry spam
* Replace synced MainForm.pref* variables with TAppSettings.Read* calls
* Move SetLocales call to dpr file
* Move MainForm.FDirname* variables to appropriate methods in helpers.pas
* Implement TQueryHistory.Create(SessionPath), reading its items within constructor
2012-08-19 10:55:08 +00:00
5e8bf8306a Remove unused unit inclusions, detected by CNPack/Uses cleaner 2012-05-01 08:34:12 +00:00
da96a7c412 Implicitly activate backwards search when replacement string contains \n, to overcome the multi line bug described in previous commit. Suggestion from michaelgang, see http://www.heidisql.com/forum.php?t=8977 2011-08-18 10:50:59 +00:00
fe2d5149a5 Add support for \t and \n for replacement in search+replace dialog. Accepting a multi line bug in SynEdit, which forces the user to search backwards when using \n in replacement. See http://www.heidisql.com/forum.php?t=8977 2011-08-18 06:41:49 +00:00
3c0da9de03 Make search input find matching items case sensitively. Fixes issue #2343. 2011-03-13 19:04:38 +00:00
02d29ea976 Implement a home brown find + replace dialog, supporting regular expressions, and using all stuff SynEdit gives us. Add main menu item "Search" next to "Edit". Fixes issue #1069. 2010-02-01 23:55:44 +00:00