From b048f791a15f2da781a01eba5b09eb9d389f9c11 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Tue, 4 Aug 2015 12:19:10 -0700 Subject: clang-format all pdfium code. No behavior change. Generated by: find . -name '*.cpp' -o -name '*.h' | \ grep -E -v 'third_party|thirdparties|lpng_v163' | \ xargs ../../buildtools/mac/clang-format -i See thread "tabs vs spaces" on pdfium@googlegroups.com for discussion. BUG=none R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1265503005 . --- public/fpdf_searchex.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'public/fpdf_searchex.h') diff --git a/public/fpdf_searchex.h b/public/fpdf_searchex.h index 1d43eab8cf..a6b6e1bdbf 100644 --- a/public/fpdf_searchex.h +++ b/public/fpdf_searchex.h @@ -16,11 +16,14 @@ extern "C" { // Function: FPDFText_GetCharIndexFromTextIndex // Get the actually char index in text_page's internal char list. // Parameters: -// text_page - Handle to a text page information structure. Returned by FPDFText_LoadPage function. -// nTextIndex - The index of the text in the string get from FPDFText_GetText. +// text_page - Handle to a text page information structure. +// Returned by FPDFText_LoadPage function. +// nTextIndex - The index of the text in the string get from +// FPDFText_GetText. // Return value: // The index of the character in internal charlist. -1 for error. -DLLEXPORT int STDCALL FPDFText_GetCharIndexFromTextIndex(FPDF_TEXTPAGE text_page, int nTextIndex); +DLLEXPORT int STDCALL +FPDFText_GetCharIndexFromTextIndex(FPDF_TEXTPAGE text_page, int nTextIndex); #ifdef __cplusplus } -- cgit v1.2.3