aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/AutoComplete.cxx
AgeCommit message (Collapse)AuthorFilesLines
2024-12-15Feature [feature-requests:#1537]. Use const where possible.Neil1-1/+1
2024-12-15Feature [feature-requests:#1537]. Use noexcept where possible.Zufu Liu1-2/+2
2024-12-15Feature [feature-requests:#1537]. Extract common code into function.Zufu Liu1-8/+10
2024-12-06Feature [feature-requests:#1537]. Avoid truncation potential with PerformSort.Zufu Liu1-13/+11
Use string_view to improve safety.
2024-12-06Feature [feature-requests:#1537]. Refactor Sorter in AutoComplete.Zufu Liu1-13/+21
Move into unnamed namespace. Don't hold onto AutoComplete*. Simplify indexing by 2. Use const.
2024-11-26Bug [#2458]. Add include of cstdint to provide intptr_t and uintptr_t.Neil1-0/+1
2021-11-13Bug [#2294] Fix assertion failure with autocompletion list when order isNeil1-0/+5
SC_ORDER_CUSTOM or SC_ORDER_PERFORMSORT and the list is empty.
2021-08-31Make Cancel methods noexcept as they may need to be used in destructors.Neil1-1/+1
2021-08-07Changes for Cppcheck 2.5.Neil1-1/+1
Shift of unsigned to avoid too much shifting and overflow warnings. Remove condition that was always true. Remove suppressions no longer needed.
2021-07-17Add SCI_AUTOCSETOPTIONS to allow choosing a non-resizeable autocompletion listNeil1-1/+3
on Win32. This also avoids a header rectangle above the list.
2021-05-28Better exception handling for noexcept methods. More accurate noexcept marking.Neil1-1/+1
2021-05-24Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.hNeil1-8/+11
and ScintillaStructures.h using scoped enumerations. Use these headers instead of Scintilla.h internally. External definitions go in the Scintilla namespace and internal definitio0ns in Scintilla::Internal.
2021-04-27Rename CharacterSet and CharacterCategory modules in Scintilla to CharacterTypeNeil1-1/+1
and CharacterCategoryMap to avoid clashes with Lexilla when building an executable that includes both.
2021-03-29Modify ListBox::GetValue to return a std::string to avoid fixed size buffersNeil1-17/+13
and the possibility of truncation.
2021-03-18std::optional is a basic vocabulary type that may be used widely so includeNeil1-0/+1
almost everywhere.
2021-03-18Move assert and debug trace functions into their own header Debugging.h.Neil1-0/+1
PLATFORM_ASSERT is used in data structure headers which led to including graphics and windowing APIs in data structure modules.
2021-03-17Use unique_ptr for ListBox::Allocate to show transfer of ownership.Neil1-1/+1
2021-03-17Extract geometry and colour definitions from Platform.h into src/Geometry.h.Neil1-0/+1
2018-05-14Include <string_view> to allow future use in Platform interface and Unicode.Neil1-0/+1
2018-05-06Ensuring ptrdiff_t is available by including <cstddef>.Neil1-0/+1
2018-04-20Feature [feature-requests:#1215]. const in AutoComplete.Neil1-5/+5
2018-03-09Use Position/Line/int more accurately in preparation for large documents.Neil1-1/+1
2018-03-01Mark variables as const where simple.Neil1-1/+1
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-2/+0
interfaces ILexer4 and IDocument.
2017-04-22Using unique_ptr to simplify ownership of images, case folder, and list box.Neil1-4/+1
2017-04-22Include <memory> for std::unique_ptr.Neil1-0/+1
2017-04-07Prefer C++ static cast over C-style casts.Neil1-2/+2
2017-04-06Added const where possible.Neil1-4/+4
2017-04-01Standardize on C++ headers, remove headers that aren't needed and add <cstddef>Neil1-4/+4
where it may be needed in the future.
2017-03-31Using Sci::Position and Sci::Line to mark variables that are document positionsNeil1-1/+1
and lines.
2015-07-27Add Position.h as a place-holder and to allow #include "Position.h" in source.Neil1-0/+1
2015-07-04Make std::exception visible to all core code to remove chance that a differentNeil1-0/+1
tool set will not indirectly include <stdexcept>.
2015-03-13Truncate elements that are near to maxItemLen to avoid possibility of writingNeil1-1/+3
outside bounds. Also avoids warning for use of strncpy.
2013-12-22Switch from char[] to std::string for simplicity and safety.Neil1-9/+5
2013-07-21Normalising order of language headers.Neil1-1/+1
2013-04-01Feature [#981]. Added autocompletion order property to allow list to be orderednyamatongwe1-9/+110
according to container preference but still allowing selection by typing. From Alpha.
2012-07-24Add ncurses platform. Rest of the implementation is an external project.nyamatongwe1-1/+3
From Mitchell Foral.
2012-06-17Use std::string instead of fixed size strings.nyamatongwe1-1/+12
Decrease direct access to the autocompletion list box from outside AutoComplete.
2012-04-16Matched spelling change.nyamatongwe1-2/+2
2012-04-16Case-insensitive auto-completion selection. Bug #3516538.nyamatongwe1-2/+5
From Markus Nißl.
2011-08-10Implement 'technology' concept which will allow GDI and Direct2D/DirectWritenyamatongwe1-2/+2
to run at the same time for different windows and operations.
2011-02-20Avoid some cppcheck warnings.nyamatongwe1-1/+1
2010-07-13Files changed for new lexer design.nyamatongwe1-1/+2
2010-03-13Adding const to methods where possible.nyamatongwe1-3/+3
2010-02-17Formatting whitespace.nyamatongwe1-2/+2
2009-07-21Using a much simpler property set implementation.nyamatongwe1-1/+1
Accessor objects use the PropertyGet interface to access just the property set methods they need. Removed SString.
2007-06-01integrate OS X support for scintilla. a big patch with a little commit ↵scaraveo1-0/+4
message :) - now uses namespaces (optionally for non-os x) to avoid conflicts with OS X libraries - several fixes in the OS X layer since the branch was commited in 2005 - used in Komodo since 2005, so pretty stable
2005-03-25Patch from Blair McGlashan for autocompletion on Windows tonyamatongwe1-29/+6
* Set maximum width of list * set maximum height of list * better calculate width * use ellipsis when text is truncated to fit window * use popup window so it can extend past parent window * disallow resizing too small * draw to bottom edge when resized so last item not full line high * improve time to display by by 90% Minor tweaks by me to fix warnings, layout etc.
2005-03-09Patch from Blair McGlashan to send a notification before accepting an ↵nyamatongwe1-3/+4
autocompletion.
2005-02-07Patch from Chris Jones to select exact case match when available.nyamatongwe1-0/+12