1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 07:27:45 +00:00
serenity/Userland/Libraries
luiz 964249a5b0 LibGUI: Fixes modified indicator behavior after saving
Pior to this change when the user added text after having saved the file
the Text Editor wouldn't enable the modified flag, unless this new text
was a new line.

This happened because the UndoStack was merging the Command added by
the new text with the old text one, and when is_current_modified()
was called, the m_stack_index would not have been incremented, and
it would return false.

In this change was added a condition to verify if the modified tag is
active, and the merge is only done if the document is already modified.
2021-09-04 21:04:33 +02:00
..
LibArchive Everywhere: Use my cool new @serenityos.org email address 2021-09-01 11:37:25 +04:30
LibAudio LibAudio: Implement decoding verbatim blocks in FLAC 2021-08-31 16:35:37 +02:00
LibC Everywhere: Use my cool new @serenityos.org email address 2021-09-01 11:37:25 +04:30
LibCards LibGfx: Use "try_" prefix for static factory functions 2021-07-21 18:02:15 +02:00
LibChess LibChess: Fix hashing of the chess board 2021-07-30 20:49:18 +02:00
LibCompress LibCompress: Discard GZip NAME & COMMENT optional strings 2021-05-18 08:09:21 +02:00
LibConfig ConfigServer+LibConfig: Add way for clients to listen for config changes 2021-08-26 23:41:38 +02:00
LibCore LibCore: Refactor a version-reading utility 2021-09-02 16:17:18 +01:00
LibCoredump Everywhere: Core dump => Coredump 2021-08-23 00:02:09 +02:00
LibCpp LibCpp: Use lex_iterable() where applicable 2021-08-21 22:09:56 +02:00
LibCrypt Everywhere: Use my cool new @serenityos.org email address 2021-09-01 11:37:25 +04:30
LibCrypto Everywhere: Use my cool new @serenityos.org email address 2021-09-01 11:37:25 +04:30
LibDebug LibDebug: Use HashMap::ensure() in DebugInfo::prepare_lines() 2021-09-04 20:30:56 +02:00
LibDesktop Userland: Use Core::Process::spawn() instead of posix_spawn() in places 2021-08-06 01:06:42 +02:00
LibDiff AK+Everywhere: Consolidate String::index_of() and String::find() 2021-05-24 11:59:18 +02:00
LibDl Toolchain+Userland: Enable TLS for x86_64 2021-07-04 01:07:28 +02:00
LibDSP Libraries: Add LibDSP 2021-08-31 17:03:55 +04:30
LibELF LibELF: Name non-executable map regions ".rodata" instead of ".text" 2021-09-04 20:30:56 +02:00
LibFileSystemAccessClient FileSystemAccessServer: Add window title as parameter for opening file 2021-08-07 12:48:22 +02:00
LibGemini Userland: Migrate to argument-less deferred_invoke 2021-09-02 03:47:47 +04:30
LibGfx LibGfx: Make FontDatabase cache store fonts in NonnullRefPtr 2021-09-04 20:30:56 +02:00
LibGL Everywhere: Prevent risky implicit casts of (Nonnull)RefPtr 2021-09-03 23:20:23 +02:00
LibGUI LibGUI: Fixes modified indicator behavior after saving 2021-09-04 21:04:33 +02:00
LibHTTP Userland: Migrate to argument-less deferred_invoke 2021-09-02 03:47:47 +04:30
LibImageDecoderClient Userland: Remove dummy IPC methods 2021-06-24 00:38:58 +02:00
LibIMAP Everywhere: Prevent risky implicit casts of (Nonnull)RefPtr 2021-09-03 23:20:23 +02:00
LibIPC LibIPC: Convert Encoder class to east-const style 2021-09-03 15:36:51 +02:00
LibJS LibJS: Implement Intl.DisplayNames.supportedLocalesOf() 2021-09-04 19:08:18 +01:00
LibKeyboard LibKeyboard: Remove an unnecessary #include when building with KERNEL 2021-06-30 11:30:28 +02:00
LibLine Userland: Migrate to argument-less deferred_invoke 2021-09-02 03:47:47 +04:30
LibM AK: Introduce Math.h 2021-07-19 16:34:21 +04:30
LibMarkdown LibMarkdown: Match HTML formatting of Commonmark tests 2021-08-31 16:53:51 +02:00
LibPCIDB Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
LibPDF Everywhere: Prevent risky implicit casts of (Nonnull)RefPtr 2021-09-03 23:20:23 +02:00
LibProtocol LibProtocol: Use URL class in RequestClient::start_request argument 2021-06-06 16:00:11 +02:00
LibPthread Kernel+Userland: Remove global futexes 2021-08-17 01:21:47 +02:00
LibRegex AK+LibRegex: Disable construction of views from temporary Strings 2021-09-04 21:01:15 +02:00
LibSanitizer LibSanitizer+AK: Add float cast overflow handler 2021-08-08 10:55:36 +02:00
LibSQL Everywhere: Prevent risky implicit casts of (Nonnull)RefPtr 2021-09-03 23:20:23 +02:00
LibSymbolication LibSymbolication: Unbreak symbolication with -z separate-code linking 2021-09-04 20:30:56 +02:00
LibSyntax LibSyntax: Fix bug in matching cursor highlighting 2021-09-03 11:45:50 +02:00
LibSystem Kernel+LibSystem: Add a 4th syscall argument 2021-07-25 14:08:50 +02:00
LibTest LibTest: Add TEST_SETUP macro that runs before all test cases 2021-08-31 16:53:51 +02:00
LibTextCodec LibTextCodec: Add "process" API for allocation-free code point iteration 2021-08-30 00:08:40 +02:00
LibThreading LibCore+Userland: Implement Core::deferred_invoke 2021-09-02 03:47:47 +04:30
LibTLS Userland: Migrate to argument-less deferred_invoke 2021-09-02 03:47:47 +04:30
LibUnicode LibUnicode: Implement the Remove Likely Subtags method 2021-09-04 13:51:40 +01:00
LibUSBDB LibUSBDB: Fix vendor id decoding 2021-06-18 19:41:25 +04:30
LibVideo Userland: Use kmalloc_array() where appropriate 2021-08-08 00:03:45 +02:00
LibVT LibVT: Execute DragOperation after resetting active hyperlink 2021-09-02 22:48:10 +02:00
LibWasm LibWasm: Limit the number of function locals 2021-08-31 16:37:49 +02:00
LibWeb Everywhere: Prevent risky implicit casts of (Nonnull)RefPtr 2021-09-03 23:20:23 +02:00
LibWebSocket Userland: Migrate to argument-less deferred_invoke 2021-09-02 03:47:47 +04:30
LibX86 LibX86: Stub out Disassembler::next() for x86_64 2021-08-02 17:11:47 +02:00
CMakeLists.txt Libraries: Add LibDSP 2021-08-31 17:03:55 +04:30