Skip to content

Releases: AidanSun05/ImGuiTextSelect

1.3.1

03 Mar 06:18

Choose a tag to compare

These notes are also available on the changelog.

Additions

  • Added a CMake build script for the example (#13). Thanks @yansong1221!
  • Added awareness for the ImGui::Indent() function (#14). Thanks @Spl3en!

1.3.0

31 Jul 03:08

Choose a tag to compare

These notes are also available on the changelog.

Additions

Removals

1.2.0

25 Jun 18:12

Choose a tag to compare

These notes are also available on the changelog.

This is a patch release which addresses the breaking changes in Dear ImGui v1.92.0. It drops support for previous Dear ImGui versions.

Improvements

  • Updated the use of ImFont::CalcWordWrapPosition() and added use of ImGui::GetFontBaked(). This allows word-wrapped text selection to work with dynamic font rendering introduced in Dear ImGui v1.92.0.

1.1.6

10 Jun 19:11

Choose a tag to compare

These notes are also available on the changelog.

Additions

Improvements

  • Introduced clang-format for consistent formatting.

Bug Fixes

  • Fixed crash when text is empty (#7). Thanks @twixuss!

1.1.5

16 Apr 19:34

Choose a tag to compare

These notes are also available on the changelog.

Improvements

  • Added native support for C++17 (#4). Thanks @jonkwl!
  • Added functionality to keep selecting when cursor is outside the window (#5). Thanks @twixuss!

1.1.4

14 Feb 21:24

Choose a tag to compare

These notes are also available on the changelog.

Improvements

  • Improved newline handling for triple-click selection.

Bug Fixes

  • Fixed UB when selecting empty lines. The newline character is now included in the selection rectangle and copied text.

1.1.3

02 Nov 21:29

Choose a tag to compare

These notes are also available on the changelog.

Improvements

  • Added the missing #pragma once in the header file.
  • Changed uses of size_t to std::size_t.
  • Removed dependency on std::pair and <utility>.
  • Improved word boundary detection: double-clicking a sequence of boundary characters now selects all of them instead of just one.

1.1.2

09 Aug 04:22

Choose a tag to compare

These notes are also available on the changelog.

Removals

  • Removed support for Dear ImGui versions older than v1.90.7. (ImGuiMod_Shortcut was replaced with ImGuiMod_Ctrl)

1.1.1

31 May 19:04

Choose a tag to compare

These notes are also available on the changelog.

This is a patch release which addresses the breaking changes in Dear ImGui v1.90.7. It is backwards compatible with previous Dear ImGui versions.

Improvements

  • Updated the use of ImGui::Shortcut() and ImGuiMod_Ctrl.

1.1.0

24 May 23:24

Choose a tag to compare

These notes are also available on the changelog.

Additions

  • Added a full example program.
  • Added automatic newline insertion for multiline copying.
    • The lines that you pass to ImGuiTextSelect no longer need to end with newlines for multiline copying to work.

Improvements

  • Removed #include <string> from the header file.

Bug Fixes

  • Fixed a crash when compiling on the debug configuration with MSVC (#2). Thanks @taki640!