]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.eclipse.swt.win32.win32.x86_64/src/org/eclipse/swt/custom/CaretEvent.java
Remove invalid SHA-256-Digests
[simantics/platform.git] / bundles / org.eclipse.swt.win32.win32.x86_64 / src / org / eclipse / swt / custom / CaretEvent.java
1 /*******************************************************************************
2  * Copyright (c) 2008 IBM Corporation and others.
3  *
4  * This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License 2.0
6  * which accompanies this distribution, and is available at
7  * https://www.eclipse.org/legal/epl-2.0/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *     IBM Corporation - initial API and implementation
13  *******************************************************************************/
14 package org.eclipse.swt.custom;
15
16
17 import org.eclipse.swt.events.*;
18
19 /**
20  * This event is sent when the caret offset changes.
21  *
22  * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
23  *
24  * @since 3.5
25  */
26 public class CaretEvent extends TypedEvent {
27
28         /**
29          * caret offset
30          */
31         public int caretOffset;
32
33         static final long serialVersionUID = 3257846571587545489L;
34
35 CaretEvent(StyledTextEvent e) {
36         super(e);
37         caretOffset = e.end;
38 }
39 }