71 Commits

Author SHA1 Message Date
a023e35566 LazEdit: remove old ANSI versions of SaveToFile/LoadFromFile. Less hints.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7272 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-12 12:58:54 +00:00
0a6aed4630 LazEdit: no need to convert ConfigDir to ANSI encoding.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7271 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-12 12:47:54 +00:00
32ff846113 LazEdit: remove debug writeln.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7262 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-09 18:53:15 +00:00
42fa96bdc4 LazEdit: update version after recent changes. Update copyright year.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7261 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-09 18:49:18 +00:00
12efbbbb7c LazEdit: remove EPlus.ini file from svn.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7260 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-09 18:40:49 +00:00
97119a0e90 LazEdit: use better location for config file (the old one was not writeable by default on any modern OS).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7259 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-09 18:39:21 +00:00
8970d84cbc LazEdit: warn if file doesn't seem ASCII or Utf8 encoded.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7258 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-09 18:23:59 +00:00
c9d1e05e6c LazEdit: in ParseCommandlineFilenames ask to create a file if it does not exsist.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7257 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-09 18:04:38 +00:00
887e07f476 LazEdit: fix TEditor.MarkSelection.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7256 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-09 17:41:12 +00:00
f9403bf32f LazEdit: Use -FaLazLogger,LCLExceptionStacktrace in debug buildmodes to enable stack tracing and debugln() output.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7255 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-09 17:35:43 +00:00
16ada6f88d LazEdit: disable HTML-actions if editor is not Html.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7254 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-09 17:32:21 +00:00
3376369e66 LazEdit: fix not searching backwards.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7253 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-09 17:12:07 +00:00
1afe4ef421 LazEdit: fix compilation; fix Utf8<->ansi conversions.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7252 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-09 17:10:29 +00:00
3f2f88e69a LazEdit: update links to the authors website.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3838 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-12-12 23:17:35 +00:00
753ec5dfa0 LazEdit: when dealing with SelStart and SelEnd,.use Length (not Utf8Length) because SynEdit internally works with bytpositions.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3829 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-12-06 23:34:38 +00:00
e185b2ed51 MruLists.pp: fix call to CompareFileNames (function signature has changed).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3252 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-29 12:24:23 +00:00
af315f4311 LazEdit: when calling FileGetAttrUTF8 check for LongInt(feInvalidHandle) instead of feInvalidHandle.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3251 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-29 12:03:21 +00:00
203059b3df LazEdit: when calling FileGetAttrUTF8 check for feInvalidHandle.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3036 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-10 16:23:34 +00:00
42bf26f5f4 LazEdit: Fix loosing focus after closing Find/Replace dialog in some circumstanses.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2992 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-02 22:37:43 +00:00
246fc9e568 LazEdit: EditorPageControl: Fix not being able to save hidden files on Windows.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2991 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-02 22:29:20 +00:00
7bad9fa169 LazEdit: main.pp: fix not saving modified editor files when closing program.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2858 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-12-09 22:04:31 +00:00
eb63b9a138 LazEdit: lazedit_picslib.pp: uses TFileStreamUtf8 for better UTF8 support on Windows.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2756 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-06-27 16:49:36 +00:00
3c8f140dc0 LazEdit: MruLists.pp: don't Trim filenames when adding, it's wrong.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2735 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-05-01 13:07:24 +00:00
a567920d3d LazEdit: Also translate PopUpMenu captions.
Patch by arny. Fixes issue #0024034.


git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2701 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-03-13 17:55:49 +00:00
14b404eb5b LazEdit: Set menu accellerators for English language.
Patch by arny. Fixes issue #0024035.


git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2700 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-03-13 14:57:39 +00:00
c1b0e53aeb LazEdit: add .p to default extensions linked to fpc highlighter.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2699 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-03-12 23:37:57 +00:00
2192cce055 LazEdit: use English captions as default in NewTable Dialog form
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2665 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-02-06 19:23:42 +00:00
e0c705d0f0 LazEdit: use English captions as default in HtmlCharMapDialog form
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2664 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-02-06 19:20:43 +00:00
0ae703b874 LazEdit: use English captions as default in PictureDialog form
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2663 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-02-06 19:17:12 +00:00
398225f25b LazEdit: use English captions as default in AnchorDialog form
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2662 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-02-06 19:13:45 +00:00
cdec4eeeaa LazEdit: use English captions as default in NewHtmlDialog form
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2661 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-02-06 19:10:47 +00:00
785b7f964f LazEdit: picturedlgform.pp: convert filename from Utf-8 to system encoding when calling GetImageSize
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2596 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-11-29 18:35:41 +00:00
c89df7e568 LazEdit: Lazedit_PicsLib.pp: refactoring and making it Endian safe
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2595 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-11-29 18:32:01 +00:00
7939e193c6 lazedit_picslib: do not use Windows unit, use LCLIntf and LCLType instead
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2515 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-09-17 20:01:32 +00:00
6f1a46a173 LazEdit: start with blank page by default if no files are specfied on commandline
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2477 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-07-07 22:43:46 +00:00
7826dd6b83 LazEdit: open file in unused open current editor if available, else in newly created editor
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2476 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-07-07 22:35:12 +00:00
87daaf8466 lazedit: Upgrades to 2.0
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2472 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-07-05 10:07:43 +00:00
4a89dd32e2 LazEdit: changed TagMenuItemsAndActions to tag LanguageMenu items at runtime. Implemented LanguageIds for lazedit_translations.pp
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2470 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-07-02 20:40:02 +00:00
e503d1b77f LazEdit: TEditor.GuessFileTypeFromString: fix xml detection
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2469 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-06-30 09:35:13 +00:00
3be423d4ed TPictureDlgForm.GetSrc: include value for default picture folder in result
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2432 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-05-13 14:17:51 +00:00
d41597f774 Fix disabled menu items in EditorPopupMenu
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2429 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-05-12 16:57:40 +00:00
52c26ea871 Fix: Set EditorPopUpMenu as popupmenu for NoteBook
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2414 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-05-05 16:26:36 +00:00
9cb94c0591 Fixed wrong LineNr in call to DoCharSetChanged
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2384 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-04-08 17:42:45 +00:00
802a4beffb Fixed wrong utf-8 charsetdefinition (typo)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2383 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-04-08 16:54:28 +00:00
d5190ae858 Fixed missing English translation for mnuFileNewText
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2330 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-02-29 22:45:54 +00:00
08573f881e Corrected copyright statement and application name in comment headers
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2329 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-02-29 22:40:24 +00:00
02df30c327 Beautified about dialog
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2328 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-02-29 13:18:26 +00:00
7664591671 Added (sample) icon
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2327 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-02-29 12:02:41 +00:00
60bf9619dd Implemented detection of image width/height in PictureDlgForm. Added LazEdit_PicsLib unit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2326 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-02-29 11:51:13 +00:00
6e508e0184 Use selected text in editor as FindDialog.FindText
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2325 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-02-29 11:28:47 +00:00