File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 check_filenames : true
2222 path : ./src
2323 skip : " *.lua,*.ui"
24- ignore_words_list : " doubleclick,msdos"
24+ ignore_words_list : " doubleclick,msdos,seh "
Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ void ChangesPanel::onTreeClicked(const QModelIndex &index)
255255
256256 // Host (GitTabWidget) knows the repo root; we pass the relative path
257257 // via the entry's relPath. For absolute paths we still need the repo;
258- // delegate that resolution to the host by re-using the existing
258+ // delegate that resolution to the host by reusing the existing
259259 // GitStatusEntry / GitTabWidget contract.
260260 GitStatusEntry entry;
261261 entry.relPath = rel;
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ class GitWatcher;
3939// and full message body.
4040// 2. `git -c color.ui=never show --numstat -z --format= <sha>` for the
4141// file list with binary detection (numstat uses `-\t-\t<path>` for
42- // binaries — re-uses GitNumstatParser).
42+ // binaries — reuses GitNumstatParser).
4343// 3. `git -c color.ui=never show --first-parent --no-color -p
4444// --format= <sha>` for the actual unified diff bytes.
4545//
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ class LexerDocument final : public Scintilla::IDocument
7171 {
7272 if (line < 0 ) return 0 ;
7373 const Sci_Position next = lineStartFor (line + 1 );
74- if (next > 0 && next <= m_content.size () && m_content[next - 1 ] == ' \n ' )
74+ if (next > 0 && next <= m_content.size () && m_content[static_cast <qsizetype>( next - 1 ) ] == ' \n ' )
7575 return next - 1 ;
7676 return next;
7777 }
@@ -95,7 +95,7 @@ class LexerDocument final : public Scintilla::IDocument
9595 char SCI_METHOD StyleAt (Sci_Position position) const override
9696 {
9797 if (position < 0 || position >= m_styles.size ()) return 0 ;
98- return m_styles[position];
98+ return m_styles[static_cast <qsizetype>( position) ];
9999 }
100100 Sci_Position SCI_METHOD LineFromPosition (Sci_Position position) const override
101101 {
@@ -163,7 +163,7 @@ class LexerDocument final : public Scintilla::IDocument
163163 {
164164 if (pWidth) *pWidth = 1 ;
165165 if (position < 0 || position >= m_content.size ()) return 0 ;
166- return static_cast <unsigned char >(m_content[position]);
166+ return static_cast <unsigned char >(m_content[static_cast <qsizetype>( position) ]);
167167 }
168168
169169private:
You can’t perform that action at this time.
0 commit comments